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

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: Rebasing the fixes... Created 3 years, 10 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 261f30fbd15655ee7fd4c2b86bb2aeba1d68d0a8..71c633463832135fa4faf21b7f6181eee82951ad 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8V0CustomElementLifecycleCallbacks.cpp
@@ -112,9 +112,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