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

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

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 dd523dfa00ab5e83a64f738a0c6a963b9379ad2d..49be352729dcd754e36bab2f602fa8b82b78db1b 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -422,18 +422,18 @@ public:
bool needsLayoutTreeUpdateForNode(const Node&) const;
// Update ComputedStyles and attach LayoutObjects if necessary, but don't
// lay out.
- void updateLayoutTree();
- // Same as updateLayoutTree() except ignoring pending stylesheets.
- void updateLayoutTreeIgnorePendingStylesheets();
- void updateLayoutTreeForNode(const Node*);
- void updateLayout();
+ void updateStyleAndLayoutTree();
+ // Same as updateStyleAndLayoutTree() except ignoring pending stylesheets.
+ void updateStyleAndLayoutTreeIgnorePendingStylesheets();
+ void updateStyleAndLayoutTreeForNode(const Node*);
+ void updateStyleAndLayout();
void layoutUpdated();
enum RunPostLayoutTasks {
RunPostLayoutTasksAsyhnchronously,
RunPostLayoutTasksSynchronously,
};
- void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayoutTasksAsyhnchronously);
- void updateLayoutIgnorePendingStylesheetsForNode(Node*);
+ void updateStyleAndLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayoutTasksAsyhnchronously);
+ void updateStyleAndLayoutIgnorePendingStylesheetsForNode(Node*);
PassRefPtr<ComputedStyle> styleForElementIgnoringPendingStylesheets(Element*);
PassRefPtr<ComputedStyle> styleForPage(int pageIndex);

Powered by Google App Engine
This is Rietveld 408576698