Changeset 114775 in webkit
- Timestamp:
- Apr 20, 2012 1:22:03 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r114770 r114775 1 2012-04-20 Emil A Eklund <eae@chromium.org> 2 3 Fix use of LayoutUnits in DOMNodeHighlighter 4 https://bugs.webkit.org/show_bug.cgi?id=84472 5 6 Reviewed by Eric Seidel. 7 8 Fix use of subpixel units and rounding in new code introduced in r114659. 9 10 No new tests, no change in functionality. 11 12 * inspector/DOMNodeHighlighter.cpp: 13 1 14 2012-04-17 Antonio Gomes <agomes@rim.com> 2 15 -
trunk/Source/WebCore/inspector/DOMNodeHighlighter.cpp
r114659 r114775 356 356 static void contentsQuadToRootView(FloatQuad& quad, FrameView* view) 357 357 { 358 quad.setP1(view->contentsToRootView(rounded LayoutPoint(quad.p1())));359 quad.setP2(view->contentsToRootView(rounded LayoutPoint(quad.p2())));360 quad.setP3(view->contentsToRootView(rounded LayoutPoint(quad.p3())));361 quad.setP4(view->contentsToRootView(rounded LayoutPoint(quad.p4())));358 quad.setP1(view->contentsToRootView(roundedIntPoint(quad.p1()))); 359 quad.setP2(view->contentsToRootView(roundedIntPoint(quad.p2()))); 360 quad.setP3(view->contentsToRootView(roundedIntPoint(quad.p3()))); 361 quad.setP4(view->contentsToRootView(roundedIntPoint(quad.p4()))); 362 362 } 363 363 … … 458 458 459 459 if (context && highlightData->showInfo) 460 drawElementTitle(*context, node, renderer, boundingBox, titleAnchorBox, visibleRect, containingFrame->settings());460 drawElementTitle(*context, node, renderer, pixelSnappedIntRect(boundingBox), pixelSnappedIntRect(titleAnchorBox), visibleRect, containingFrame->settings()); 461 461 } 462 462
Note: See TracChangeset
for help on using the changeset viewer.