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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.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/core/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index 776e1b9f986d860f74bf66f6fc4eb81edb3410ea..a16ffc4befe0cb400aa1fe7f39a1545a4db90268 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -652,7 +652,7 @@ protected:
STACK_ALLOCATED();
public:
explicit InUpdateScrollbarsScope(FrameView* view)
- : m_scope(view->m_inUpdateScrollbars, true)
+ : m_scope(&view->m_inUpdateScrollbars, true)
{ }
private:
TemporaryChange<bool> m_scope;

Powered by Google App Engine
This is Rietveld 408576698