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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2618323004: Don't force-update style and layout in Document::scrollingElement (Closed)
Patch Set: none 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
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 47df5cc4ba95ff8578e3cfaab36c464463590075..6d838180fcfdffb342c8864018f4c3a4acd2781e 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -344,6 +344,9 @@ class CORE_EXPORT Document : public ContainerNode,
HeapVector<Member<Element>> elementsFromPoint(int x, int y) const;
Range* caretRangeFromPoint(int x, int y);
Element* scrollingElement();
+ // When calling from C++ code, use this method. scrollingElement() is
+ // just for the web IDL implementation.
+ Element* scrollingElementInternal();
wkorman 2017/01/11 03:56:39 Wondering if there is a better name, since isn't u
chrishtr 2017/01/11 04:09:09 Done.
void addStyleReattachData(Node&, StyleReattachData&);
StyleReattachData getStyleReattachData(Node&);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | third_party/WebKit/Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698