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

Unified Diff: Source/core/editing/Editor.h

Issue 791043002: Oilpan: tidy up definition of some stack-allocated scope objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « Source/core/dom/NodeRenderingTraversal.h ('k') | Source/core/editing/InputMethodController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/Editor.h
diff --git a/Source/core/editing/Editor.h b/Source/core/editing/Editor.h
index c08b4198a8b052fa09b5c2fdf1bde8f11bc38a6a..6335a900b976bfbbd53d284f0faa40f0efa53000 100644
--- a/Source/core/editing/Editor.h
+++ b/Source/core/editing/Editor.h
@@ -226,11 +226,12 @@ public:
class RevealSelectionScope {
WTF_MAKE_NONCOPYABLE(RevealSelectionScope);
+ STACK_ALLOCATED();
public:
- RevealSelectionScope(Editor*);
+ explicit RevealSelectionScope(Editor*);
~RevealSelectionScope();
private:
- Editor* m_editor;
+ RawPtrWillBeMember<Editor> m_editor;
};
friend class RevealSelectionScope;
« no previous file with comments | « Source/core/dom/NodeRenderingTraversal.h ('k') | Source/core/editing/InputMethodController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698