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

Unified Diff: Source/core/testing/Internals.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/svg/graphics/SVGImage.cpp ('k') | Source/devtools/Inspector-0.1.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index e5c855d5fee266755c22bcd831a2e97cc50f353c..bc2c7c406117f533d2bcbefe94e5f18bd9af94cb 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -55,7 +55,7 @@
#include "core/dom/Element.h"
#include "core/dom/ExceptionCode.h"
#include "core/dom/Iterator.h"
-#include "core/dom/NodeLayoutStyle.h"
+#include "core/dom/NodeComputedStyle.h"
#include "core/dom/PseudoElement.h"
#include "core/dom/Range.h"
#include "core/dom/StaticNodeList.h"
@@ -336,7 +336,7 @@ bool Internals::isLoadingFromMemoryCache(const String& url)
bool Internals::isSharingStyle(Element* element1, Element* element2) const
{
ASSERT(element1 && element2);
- return element1->layoutStyle() == element2->layoutStyle();
+ return element1->computedStyle() == element2->computedStyle();
}
bool Internals::isValidContentSelect(Element* insertionPoint, ExceptionState& exceptionState)
« no previous file with comments | « Source/core/svg/graphics/SVGImage.cpp ('k') | Source/devtools/Inspector-0.1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698