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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.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: TemporaryChange -> AutoReset 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/paint/PaintLayer.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
index 94b67753b437c1d7e505d78658d2ea0a855a96b8..0c55e1663d969e3a08fc3801bdfee6d480ffef79 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -60,6 +60,7 @@
#include "platform/graphics/SquashingDisallowedReasons.h"
#include "public/platform/WebBlendMode.h"
#include "wtf/Allocator.h"
+#include "wtf/AutoReset.h"
#include "wtf/PtrUtil.h"
#include <memory>
@@ -90,7 +91,7 @@ class CORE_EXPORT DisableCompositingQueryAsserts {
public:
DisableCompositingQueryAsserts();
private:
- TemporaryChange<CompositingQueryMode> m_disabler;
+ AutoReset<CompositingQueryMode> m_disabler;
};
struct PaintLayerRareData {
« no previous file with comments | « third_party/WebKit/Source/core/page/PageVisibilityNotifier.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698