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

Unified Diff: Source/core/editing/markers/DocumentMarkerControllerTest.cpp

Issue 1303413004: Convert some call sites to use explicit LayoutRect->FloatRect conversion. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
Index: Source/core/editing/markers/DocumentMarkerControllerTest.cpp
diff --git a/Source/core/editing/markers/DocumentMarkerControllerTest.cpp b/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
index 79fcfd7786feba7c2bc766fc5fe4ac5155f11bc9..3c5fdee4e95e32034675efaad0b63b4520ad8d54 100644
--- a/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
+++ b/Source/core/editing/markers/DocumentMarkerControllerTest.cpp
@@ -201,7 +201,7 @@ TEST_F(DocumentMarkerControllerTest, NodeWillBeRemovedBySetInnerHTML)
TEST_F(DocumentMarkerControllerTest, UpdateRenderedRects)
{
- LayoutRect invalidRect = RenderedDocumentMarker::create(DocumentMarker(0, 0, false))->renderedRect();
+ IntRect invalidRect(RenderedDocumentMarker::create(DocumentMarker(0, 0, false))->renderedRect());
eae 2015/08/25 17:47:16 renderRect() returns a LayoutRect, this implicitly
chrishtr 2015/08/25 18:30:43 It's implicit in the same way that renderedRectsFo
setBodyInnerHTML("<div style='margin: 100px'>foo</div>");
RefPtrWillBeRawPtr<Element> div = toElement(document().body()->firstChild());

Powered by Google App Engine
This is Rietveld 408576698