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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

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/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 80b2f314e47b4f3c69d05a058f97187e92ba2429..a83d32bb4d120961e852ed42690056c431ea9e78 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -2172,7 +2172,7 @@ WebInputEventResult WebViewImpl::handleInputEvent(const WebInputEvent& inputEven
if (m_ignoreInputEvents)
return WebInputEventResult::NotHandled;
- TemporaryChange<const WebInputEvent*> currentEventChange(m_currentInputEvent, &inputEvent);
+ TemporaryChange<const WebInputEvent*> currentEventChange(&m_currentInputEvent, &inputEvent);
UIEventWithKeyState::clearNewTabModifierSetFromIsolatedWorld();
bool isPointerLocked = false;

Powered by Google App Engine
This is Rietveld 408576698