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

Unified Diff: Source/core/html/shadow/DateTimeEditElement.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/html/shadow/DateTimeEditElement.h ('k') | Source/core/html/shadow/DetailsMarkerControl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/DateTimeEditElement.cpp
diff --git a/Source/core/html/shadow/DateTimeEditElement.cpp b/Source/core/html/shadow/DateTimeEditElement.cpp
index 0b8bc109b5529f526590e79ed656054eb3731a32..228d55cafc538e81d706a95a144f8b283314de7a 100644
--- a/Source/core/html/shadow/DateTimeEditElement.cpp
+++ b/Source/core/html/shadow/DateTimeEditElement.cpp
@@ -35,7 +35,7 @@
#include "core/html/forms/DateTimeFieldsState.h"
#include "core/html/shadow/DateTimeFieldElements.h"
#include "core/html/shadow/ShadowElementNames.h"
-#include "core/layout/style/LayoutStyle.h"
+#include "core/layout/style/ComputedStyle.h"
#include "core/layout/style/StyleInheritedData.h"
#include "platform/fonts/FontCache.h"
#include "platform/text/DateTimeFormat.h"
@@ -501,11 +501,11 @@ PassRefPtrWillBeRawPtr<DateTimeEditElement> DateTimeEditElement::create(Document
return container.release();
}
-PassRefPtr<LayoutStyle> DateTimeEditElement::customStyleForLayoutObject()
+PassRefPtr<ComputedStyle> DateTimeEditElement::customStyleForLayoutObject()
{
// FIXME: This is a kind of layout. We might want to introduce new renderer.
- RefPtr<LayoutStyle> originalStyle = originalStyleForLayoutObject();
- RefPtr<LayoutStyle> style = LayoutStyle::clone(*originalStyle);
+ RefPtr<ComputedStyle> originalStyle = originalStyleForLayoutObject();
+ RefPtr<ComputedStyle> style = ComputedStyle::clone(*originalStyle);
float width = 0;
for (Node* child = fieldsWrapperElement()->firstChild(); child; child = child->nextSibling()) {
if (!child->isElementNode())
« no previous file with comments | « Source/core/html/shadow/DateTimeEditElement.h ('k') | Source/core/html/shadow/DetailsMarkerControl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698