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

Unified Diff: Source/core/css/DragUpdateTest.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/css/AffectedByFocusTest.cpp ('k') | Source/core/css/FontFace.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/DragUpdateTest.cpp
diff --git a/Source/core/css/DragUpdateTest.cpp b/Source/core/css/DragUpdateTest.cpp
index e9c72bc506ea662d66e67d861f57ab2c35a05da3..213b7edac89ff36f84dd9b1762234f9bb54083e2 100644
--- a/Source/core/css/DragUpdateTest.cpp
+++ b/Source/core/css/DragUpdateTest.cpp
@@ -32,12 +32,12 @@ TEST(DragUpdateTest, AffectedByDragUpdate)
"</div>", ASSERT_NO_EXCEPTION);
document.view()->updateLayoutAndStyleIfNeededRecursive();
- unsigned startCount = document.styleEngine()->resolverAccessCount();
+ unsigned startCount = document.styleEngine().resolverAccessCount();
document.documentElement()->renderer()->updateDragState(true);
document.view()->updateLayoutAndStyleIfNeededRecursive();
- unsigned accessCount = document.styleEngine()->resolverAccessCount() - startCount;
+ unsigned accessCount = document.styleEngine().resolverAccessCount() - startCount;
ASSERT_EQ(1U, accessCount);
}
@@ -58,12 +58,12 @@ TEST(DragUpdateTest, ChildrenOrSiblingsAffectedByDragUpdate)
"</div>", ASSERT_NO_EXCEPTION);
document.updateLayout();
- unsigned startCount = document.styleEngine()->resolverAccessCount();
+ unsigned startCount = document.styleEngine().resolverAccessCount();
document.documentElement()->renderer()->updateDragState(true);
document.updateLayout();
- unsigned accessCount = document.styleEngine()->resolverAccessCount() - startCount;
+ unsigned accessCount = document.styleEngine().resolverAccessCount() - startCount;
ASSERT_EQ(5U, accessCount);
}
« no previous file with comments | « Source/core/css/AffectedByFocusTest.cpp ('k') | Source/core/css/FontFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698