Skip to content

Instantly share code, notes, and snippets.

@spacepluk
Created October 26, 2014 09:16
Show Gist options
  • Save spacepluk/e5c09d9e39eb98ffb30b to your computer and use it in GitHub Desktop.
Save spacepluk/e5c09d9e39eb98ffb30b to your computer and use it in GitHub Desktop.
--- a/qtdeclarative/src/qml/qml/v8/qv8engine.cpp 2014-10-25 17:36:02.410146635 +0300
+++ b/qtdeclarative/src/qml/qml/v8/qv8engine.cpp 2014-10-25 17:36:55.327536841 +0300
@@ -478,12 +478,6 @@
void QV8Engine::freezeObject(const QV4::ValueRef value)
{
- QV4::Scope scope(m_v4Engine);
- QV4::ScopedFunctionObject f(scope, m_freezeObject.value());
- QV4::ScopedCallData callData(scope, 1);
- callData->args[0] = value;
- callData->thisObject = m_v4Engine->globalObject;
- f->call(callData);
}
void QV8Engine::gc()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment