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

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

Issue 975933002: Return reference from styleEngine() accessor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | « Source/core/dom/StyleElement.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/StyleEngine.h
diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h
index 672e27b2b6aaa1fd5031f444d92419f297e41131..18eb3744e0f42249ecd4b9c3ffbf021ec6d1cc92 100644
--- a/Source/core/dom/StyleEngine.h
+++ b/Source/core/dom/StyleEngine.h
@@ -58,8 +58,8 @@ public:
class IgnoringPendingStylesheet : public TemporaryChange<bool> {
public:
- IgnoringPendingStylesheet(StyleEngine* engine)
- : TemporaryChange<bool>(engine->m_ignorePendingStylesheets, true)
+ IgnoringPendingStylesheet(StyleEngine& engine)
+ : TemporaryChange<bool>(engine.m_ignorePendingStylesheets, true)
{
}
};
« no previous file with comments | « Source/core/dom/StyleElement.cpp ('k') | Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698