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

Unified Diff: Source/core/dom/Node.h

Issue 315493004: reset VisibleSelection at the Undo command. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add the VisibleSelection::validateIfNeeded method Created 6 years, 6 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 | « LayoutTests/editing/undo/crash-delete-from-document-expected.txt ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 6459bc36cb0c9d2ec2c0d1423af7530ba88e11f2..dca25d23afca01dc46f19fa56a3b4a0d83029812 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -674,6 +674,8 @@ public:
virtual void trace(Visitor*) OVERRIDE;
+ unsigned lengthOfContents() const;
+
private:
enum NodeFlags {
HasRareDataFlag = 1,
« no previous file with comments | « LayoutTests/editing/undo/crash-delete-from-document-expected.txt ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698