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

Unified Diff: third_party/WebKit/Source/platform/EventDispatchForbiddenScope.h

Issue 2151933003: Change WTF::TemporaryChange to be an alias for AutoReset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/platform/EventDispatchForbiddenScope.h
diff --git a/third_party/WebKit/Source/platform/EventDispatchForbiddenScope.h b/third_party/WebKit/Source/platform/EventDispatchForbiddenScope.h
index 5e97eb9707a795a8b0b8a057cc5d29bde4fb6790..52b21350d2e9e7212d658b7a0e8ebd648ec82b3e 100644
--- a/third_party/WebKit/Source/platform/EventDispatchForbiddenScope.h
+++ b/third_party/WebKit/Source/platform/EventDispatchForbiddenScope.h
@@ -42,7 +42,7 @@ public:
STACK_ALLOCATED();
public:
AllowUserAgentEvents()
- : m_change(s_count, 0)
+ : m_change(&s_count, 0)
{
ASSERT(isMainThread());
}

Powered by Google App Engine
This is Rietveld 408576698