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

Unified Diff: Source/core/testing/Internals.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/Page.cpp ('k') | Source/web/PopupMenuImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 02559adc3a143f23061a6221413393bad675e155..927ba10db88f3aadf2c8fda29ea0350f310a108f 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -289,9 +289,9 @@ unsigned Internals::updateStyleAndReturnAffectedElementCount(ExceptionState& exc
return 0;
}
- unsigned beforeCount = document->styleEngine()->resolverAccessCount();
+ unsigned beforeCount = document->styleEngine().resolverAccessCount();
document->updateRenderTreeIfNeeded();
- return document->styleEngine()->resolverAccessCount() - beforeCount;
+ return document->styleEngine().resolverAccessCount() - beforeCount;
}
unsigned Internals::needsLayoutCount(ExceptionState& exceptionState) const
@@ -2292,7 +2292,7 @@ void Internals::showAllTransitionElements()
void Internals::setExitTransitionStylesheetsEnabled(bool enabled)
{
- frame()->document()->styleEngine()->setExitTransitionStylesheetsEnabled(enabled);
+ frame()->document()->styleEngine().setExitTransitionStylesheetsEnabled(enabled);
}
void Internals::forcePluginPlaceholder(HTMLElement* element, PassRefPtrWillBeRawPtr<DocumentFragment> fragment, ExceptionState& exceptionState)
« no previous file with comments | « Source/core/page/Page.cpp ('k') | Source/web/PopupMenuImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698