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

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelection.h

Issue 2623103003: [Experiment] DCHECK clean layout tree in mostForward/BackwardCaretPosition (Closed)
Patch Set: Wed Jan 11 14:41:30 JST 2017 Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/FrameSelection.h
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.h b/third_party/WebKit/Source/core/editing/FrameSelection.h
index 4b609af678dfd4e2a3ec142aa91b85a698d9bfc8..0f5dc20f26a54f7c0991f7d6aa62c7feb18ef08e 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.h
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.h
@@ -277,6 +277,8 @@ class CORE_EXPORT FrameSelection final
// to use updated selection, we should make |updateIfNeeded()| private.
void updateIfNeeded();
+ bool inUpdateSelectionIfNeeded() const { return m_inUpdateSelectionIfNeeded; }
+
DECLARE_TRACE();
private:
@@ -341,6 +343,8 @@ class CORE_EXPORT FrameSelection final
const Member<FrameCaret> m_frameCaret;
bool m_useSecureKeyboardEntryWhenActive = false;
+
+ bool m_inUpdateSelectionIfNeeded = false;
};
inline EditingStyle* FrameSelection::typingStyle() const {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698