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

Unified Diff: Source/WebCore/rendering/style/RenderStyle.cpp

Issue 13650009: Remove Dashboard support and supporting files. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compiler error due to misspelling in code "Dashbard" Created 7 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/WebCore/rendering/style/RenderStyle.h ('k') | Source/WebCore/rendering/style/StyleDashboardRegion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/style/RenderStyle.cpp
diff --git a/Source/WebCore/rendering/style/RenderStyle.cpp b/Source/WebCore/rendering/style/RenderStyle.cpp
index d8d657e913235abbb5ca765ff80324c7c78217ba..29cd416f366079bce40626afcca5e5d8c899b690 100644
--- a/Source/WebCore/rendering/style/RenderStyle.cpp
+++ b/Source/WebCore/rendering/style/RenderStyle.cpp
@@ -470,12 +470,6 @@ StyleDifference RenderStyle::diff(const RenderStyle* other, unsigned& changedCon
}
#endif
-#if ENABLE(DASHBOARD_SUPPORT)
- // If regions change, trigger a relayout to re-calc regions.
- if (rareNonInheritedData->m_dashboardRegions != other->rareNonInheritedData->m_dashboardRegions)
- return StyleDifferenceLayout;
-#endif
-
#if ENABLE(CSS_EXCLUSIONS)
if (rareNonInheritedData->m_shapeInside != other->rareNonInheritedData->m_shapeInside)
return StyleDifferenceLayout;
@@ -1139,33 +1133,6 @@ const AtomicString& RenderStyle::textEmphasisMarkString() const
return nullAtom;
}
-#if ENABLE(DASHBOARD_SUPPORT)
-const Vector<StyleDashboardRegion>& RenderStyle::initialDashboardRegions()
-{
- DEFINE_STATIC_LOCAL(Vector<StyleDashboardRegion>, emptyList, ());
- return emptyList;
-}
-
-const Vector<StyleDashboardRegion>& RenderStyle::noneDashboardRegions()
-{
- DEFINE_STATIC_LOCAL(Vector<StyleDashboardRegion>, noneList, ());
- static bool noneListInitialized = false;
-
- if (!noneListInitialized) {
- StyleDashboardRegion region;
- region.label = "";
- region.offset.m_top = Length();
- region.offset.m_right = Length();
- region.offset.m_bottom = Length();
- region.offset.m_left = Length();
- region.type = StyleDashboardRegion::None;
- noneList.append(region);
- noneListInitialized = true;
- }
- return noneList;
-}
-#endif
-
void RenderStyle::adjustAnimations()
{
AnimationList* animationList = rareNonInheritedData->m_animations.get();
« no previous file with comments | « Source/WebCore/rendering/style/RenderStyle.h ('k') | Source/WebCore/rendering/style/StyleDashboardRegion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698