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

Unified Diff: Source/core/page/TouchAdjustment.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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 | « Source/core/page/PrintContext.cpp ('k') | Source/core/paint/BoxDecorationData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/TouchAdjustment.cpp
diff --git a/Source/core/page/TouchAdjustment.cpp b/Source/core/page/TouchAdjustment.cpp
index c0d2bdfcd32f4a21438c28717386e1b2f06f05e5..96c9faf7e10a54b645002cd6c4182e95a2eed700 100644
--- a/Source/core/page/TouchAdjustment.cpp
+++ b/Source/core/page/TouchAdjustment.cpp
@@ -23,7 +23,7 @@
#include "core/dom/ContainerNode.h"
#include "core/dom/Node.h"
-#include "core/dom/NodeLayoutStyle.h"
+#include "core/dom/NodeComputedStyle.h"
#include "core/dom/Text.h"
#include "core/editing/Editor.h"
#include "core/frame/FrameView.h"
@@ -32,7 +32,7 @@
#include "core/layout/LayoutBox.h"
#include "core/layout/LayoutObject.h"
#include "core/layout/LayoutText.h"
-#include "core/layout/style/LayoutStyle.h"
+#include "core/layout/style/ComputedStyle.h"
#include "platform/geometry/FloatPoint.h"
#include "platform/geometry/FloatQuad.h"
#include "platform/geometry/IntSize.h"
@@ -94,8 +94,8 @@ bool nodeRespondsToTapGesture(Node* node)
if (element->childrenOrSiblingsAffectedByActive() || element->childrenOrSiblingsAffectedByHover())
return true;
}
- if (const LayoutStyle* layoutStyle = node->layoutStyle()) {
- if (layoutStyle->affectedByActive() || layoutStyle->affectedByHover())
+ if (const ComputedStyle* computedStyle = node->computedStyle()) {
+ if (computedStyle->affectedByActive() || computedStyle->affectedByHover())
return true;
}
return false;
« no previous file with comments | « Source/core/page/PrintContext.cpp ('k') | Source/core/paint/BoxDecorationData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698