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

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

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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/V8V0CustomElementLifecycleCallbacks.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.cpp b/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.cpp
index 0e87c5939b5a3a735cea5058a37ce4d4ea2067d7..eed7bdc6d6be8dd46d8e8581f8ce1d1c4ce26e0d 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.cpp
@@ -113,9 +113,9 @@ V8V0CustomElementLifecycleCallbacks::V8V0CustomElementLifecycleCallbacks(
m_attributeChanged(scriptState->isolate(), attributeChanged) {
m_prototype.setPhantom();
-#define MAKE_WEAK(Var, _) \
- if (!m_##Var.isEmpty()) \
- m_##Var.setPhantom();
+#define MAKE_WEAK(Var, Ignored) \
+ if (!Var##_.IsEmpty()) \
+ Var##_.SetPhantom();
CALLBACK_LIST(MAKE_WEAK)
#undef MAKE_WEAK

Powered by Google App Engine
This is Rietveld 408576698