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

Unified Diff: third_party/WebKit/Source/core/editing/SelectionController.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/core/editing/SelectionController.cpp
diff --git a/third_party/WebKit/Source/core/editing/SelectionController.cpp b/third_party/WebKit/Source/core/editing/SelectionController.cpp
index c6fe984eca1f870dd37f2da56752814a80b9da01..d375014e35e1a37ccfc79c1136c8b821457722ac 100644
--- a/third_party/WebKit/Source/core/editing/SelectionController.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionController.cpp
@@ -608,7 +608,7 @@ void SelectionController::sendContextMenuEvent(const MouseEventWithHitTestResult
return;
// Context menu events are always allowed to perform a selection.
- TemporaryChange<bool> mouseDownMayStartSelectChange(m_mouseDownMayStartSelect, true);
+ TemporaryChange<bool> mouseDownMayStartSelectChange(&m_mouseDownMayStartSelect, true);
if (mev.hitTestResult().isMisspelled())
return selectClosestMisspellingFromMouseEvent(mev);

Powered by Google App Engine
This is Rietveld 408576698