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

Unified Diff: third_party/WebKit/Source/web/tests/ResizeObserverTest.cpp

Issue 2305893002: Fix svg contentrect location (Closed)
Patch Set: forgot to fix c++ tests Created 4 years, 3 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 | « third_party/WebKit/Source/core/observer/ResizeObserverEntry.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/ResizeObserverTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ResizeObserverTest.cpp b/third_party/WebKit/Source/web/tests/ResizeObserverTest.cpp
index 66da446160c494e7f15833692f92d2b904ade6e5..af2ba8cc2ba1e0b672308b108cdc822c4c630bdb 100644
--- a/third_party/WebKit/Source/web/tests/ResizeObserverTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ResizeObserverTest.cpp
@@ -83,12 +83,12 @@ TEST_F(ResizeObserverUnitTest, ResizeObservationSize)
ASSERT_TRUE(svgObservation->observationSizeOutOfSync());
// Target size is correct
- LayoutSize size = ResizeObservation::getTargetSize(domTarget);
+ LayoutSize size = domObservation->computeTargetSize();
ASSERT_EQ(size.width(), 100);
ASSERT_EQ(size.height(), 100);
domObservation->setObservationSize(size);
- size = ResizeObservation::getTargetSize(svgTarget);
+ size = svgObservation->computeTargetSize();
ASSERT_EQ(size.width(), 200);
ASSERT_EQ(size.height(), 200);
svgObservation->setObservationSize(size);
« no previous file with comments | « third_party/WebKit/Source/core/observer/ResizeObserverEntry.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698