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

Unified Diff: Source/web/LinkHighlight.cpp

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
Index: Source/web/LinkHighlight.cpp
diff --git a/Source/web/LinkHighlight.cpp b/Source/web/LinkHighlight.cpp
index 458e95af969a28df459dfd2c10357d1a31863a12..e1d5e301a4a7581f58722fa83a9e3c4e29a0caee 100644
--- a/Source/web/LinkHighlight.cpp
+++ b/Source/web/LinkHighlight.cpp
@@ -34,8 +34,8 @@
#include "core/frame/LocalFrame.h"
#include "core/layout/Layer.h"
#include "core/layout/LayoutLayerModelObject.h"
+#include "core/layout/LayoutObject.h"
#include "core/layout/compositing/CompositedLayerMapping.h"
-#include "core/rendering/RenderObject.h"
#include "core/rendering/RenderPart.h"
#include "core/rendering/RenderView.h"
#include "core/rendering/style/ShadowData.h"
@@ -126,7 +126,7 @@ void LinkHighlight::attachLinkHighlightToCompositingLayer(const LayoutLayerModel
}
}
-static void convertTargetSpaceQuadToCompositedLayer(const FloatQuad& targetSpaceQuad, RenderObject* targetRenderer, const LayoutLayerModelObject* paintInvalidationContainer, FloatQuad& compositedSpaceQuad)
+static void convertTargetSpaceQuadToCompositedLayer(const FloatQuad& targetSpaceQuad, LayoutObject* targetRenderer, const LayoutLayerModelObject* paintInvalidationContainer, FloatQuad& compositedSpaceQuad)
{
ASSERT(targetRenderer);
ASSERT(paintInvalidationContainer);
@@ -169,7 +169,7 @@ void LinkHighlight::computeQuads(const Node& node, Vector<FloatQuad>& outQuads)
if (!node.renderer())
return;
- RenderObject* renderer = node.renderer();
+ LayoutObject* renderer = node.renderer();
// For inline elements, absoluteQuads will return a line box based on the line-height
// and font metrics, which is technically incorrect as replaced elements like images

Powered by Google App Engine
This is Rietveld 408576698