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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp

Issue 2723973002: Make V8Binding helpers return LocalFrame/LocalDOMWindow as appropriate (Closed)
Patch Set: . Created 3 years, 9 months 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: third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp b/third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp
index b5562aa14fd454ea3191d1e0ed0cc0160b844e2b..73883e5a236c2dd731d543f085259167d8416e0c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp
@@ -83,7 +83,7 @@ V8DOMActivityLogger* V8DOMActivityLogger::currentActivityLogger() {
v8::HandleScope handleScope(isolate);
v8::Local<v8::Context> context = isolate->GetCurrentContext();
- if (context.IsEmpty() || !toDOMWindow(context))
+ if (context.IsEmpty() || !toLocalDOMWindow(context))
return 0;
V8PerContextData* contextData = ScriptState::from(context)->perContextData();
@@ -101,7 +101,7 @@ V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld() {
v8::HandleScope handleScope(isolate);
v8::Local<v8::Context> context = isolate->GetCurrentContext();
- if (context.IsEmpty() || !toDOMWindow(context))
+ if (context.IsEmpty() || !toLocalDOMWindow(context))
return 0;
ScriptState* scriptState = ScriptState::from(context);
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp ('k') | third_party/WebKit/Source/bindings/core/v8/V8DOMWrapper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698