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

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

Issue 2265873003: binding: Moves hasPendingActivity from ActiveScriptWrappable to ScriptWrappable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. Created 4 years, 4 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/WrapperTypeInfo.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.cpp b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.cpp
index 055858d62dff8fd4ed0f7cea9a6de4ff1bb0e64e..3c9e3da3fbdef34fa0c7f144eb3b4a7bb610a400 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.cpp
@@ -13,7 +13,7 @@ static_assert(offsetof(struct WrapperTypeInfo, ginEmbedder) == offsetof(struct g
EventTarget* WrapperTypeInfo::toEventTarget(v8::Local<v8::Object> object) const
{
if (eventTargetInheritance == NotInheritFromEventTarget)
- return 0;
+ return nullptr;
return static_cast<EventTarget*>(toScriptWrappable(object));
}

Powered by Google App Engine
This is Rietveld 408576698