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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp

Issue 2518363003: Refactor InlineBox::calculateBoundaries() (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
index b1b306d27a8b1bca120e7e4a9639e374a85c45cc..91884f7064a12c6089f9f8db2534cbaebbad365a 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
@@ -2444,7 +2444,7 @@ void InspectorCSSAgent::visitLayoutTreeNodes(
protocol::Array<protocol::CSS::InlineTextBox>::create();
for (const InlineTextBox* textBox = layoutText->firstTextBox(); textBox;
textBox = textBox->nextTextBox()) {
- FloatRect localCoordsTextBoxRect(textBox->calculateBoundaries());
+ FloatRect localCoordsTextBoxRect(textBox->frameRect());
FloatRect absoluteCoordsTextBoxRect =
layoutObject->localToAbsoluteQuad(localCoordsTextBoxRect)
.boundingBox();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698