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

Unified Diff: Source/core/page/Page.cpp

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/page/InjectedStyleSheets.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.cpp
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
index ed22d5b087d8e955b7f9412e52500df60af7ab18..36237648479c531cb299ec543b39082c7f6901f7 100644
--- a/Source/core/page/Page.cpp
+++ b/Source/core/page/Page.cpp
@@ -500,7 +500,7 @@ void Page::settingsChanged(SettingsDelegate::ChangeType changeType)
case SettingsDelegate::FontFamilyChange:
for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()) {
if (frame->isLocalFrame())
- toLocalFrame(frame)->document()->styleEngine()->updateGenericFontFamilySettings();
+ toLocalFrame(frame)->document()->styleEngine().updateGenericFontFamilySettings();
}
setNeedsRecalcStyleInAllFrames();
break;
« no previous file with comments | « Source/core/page/InjectedStyleSheets.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698