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

Unified Diff: Source/core/layout/LayoutThemeTest.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/layout/LayoutThemeMac.mm ('k') | Source/core/layout/LayoutTreeAsText.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutThemeTest.cpp
diff --git a/Source/core/layout/LayoutThemeTest.cpp b/Source/core/layout/LayoutThemeTest.cpp
index b4521c1f5b062281f5f3da447ee34ebee5b99944..407edcbca9e85a2b5d37cefc47ef0500bc30956d 100644
--- a/Source/core/layout/LayoutThemeTest.cpp
+++ b/Source/core/layout/LayoutThemeTest.cpp
@@ -5,11 +5,11 @@
#include "config.h"
#include "core/layout/LayoutTheme.h"
-#include "core/dom/NodeLayoutStyle.h"
+#include "core/dom/NodeComputedStyle.h"
#include "core/frame/FrameView.h"
#include "core/html/HTMLDocument.h"
#include "core/html/HTMLElement.h"
-#include "core/layout/style/LayoutStyle.h"
+#include "core/layout/style/ComputedStyle.h"
#include "core/page/FocusController.h"
#include "core/page/Page.h"
#include "core/testing/DummyPageHolder.h"
@@ -47,12 +47,12 @@ void LayoutThemeTest::setHtmlInnerHTML(const char* htmlContent)
inline Color outlineColor(Element* element)
{
- return element->layoutStyle()->visitedDependentColor(CSSPropertyOutlineColor);
+ return element->computedStyle()->visitedDependentColor(CSSPropertyOutlineColor);
}
inline EBorderStyle outlineStyle(Element* element)
{
- return element->layoutStyle()->outlineStyle();
+ return element->computedStyle()->outlineStyle();
}
TEST_F(LayoutThemeTest, ChangeFocusRingColor)
« no previous file with comments | « Source/core/layout/LayoutThemeMac.mm ('k') | Source/core/layout/LayoutTreeAsText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698