Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Unified Diff: Source/bindings/v8/ScriptDebugServer.cpp

Issue 75163003: Remove deprecated v8::External::New calls (blink side) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/v8/ScriptDebugServer.cpp
diff --git a/Source/bindings/v8/ScriptDebugServer.cpp b/Source/bindings/v8/ScriptDebugServer.cpp
index b94fadf396ba83af4b46c387cb8327638f76a40f..c20f1de0628dfee4fbb9fedd1cb12f1217cc407a 100644
--- a/Source/bindings/v8/ScriptDebugServer.cpp
+++ b/Source/bindings/v8/ScriptDebugServer.cpp
@@ -191,7 +191,7 @@ void ScriptDebugServer::breakProgram()
v8::HandleScope scope(m_isolate);
if (m_breakProgramCallbackTemplate.isEmpty()) {
v8::Handle<v8::FunctionTemplate> templ = v8::FunctionTemplate::New();
- templ->SetCallHandler(&ScriptDebugServer::breakProgramCallback, v8::External::New(this));
+ templ->SetCallHandler(&ScriptDebugServer::breakProgramCallback, v8::External::New(m_isolate, this));
m_breakProgramCallbackTemplate.set(m_isolate, templ);
}

Powered by Google App Engine
This is Rietveld 408576698