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

Unified Diff: Source/core/editing/InputMethodController.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/editing/Editor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/InputMethodController.h
diff --git a/Source/core/editing/InputMethodController.h b/Source/core/editing/InputMethodController.h
index 9bb3c29bdd642a158b600aabb355200bc750beed..53a486a8f10517e6232ea4ff824bbcbe6984f237 100644
--- a/Source/core/editing/InputMethodController.h
+++ b/Source/core/editing/InputMethodController.h
@@ -86,11 +86,12 @@ public:
private:
class SelectionOffsetsScope {
WTF_MAKE_NONCOPYABLE(SelectionOffsetsScope);
+ STACK_ALLOCATED();
public:
- SelectionOffsetsScope(InputMethodController*);
+ explicit SelectionOffsetsScope(InputMethodController*);
~SelectionOffsetsScope();
private:
- InputMethodController* m_inputMethodController;
+ RawPtrWillBeMember<InputMethodController> m_inputMethodController;
const PlainTextRange m_offsets;
};
friend class SelectionOffsetsScope;
« no previous file with comments | « Source/core/editing/Editor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698