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

Unified Diff: sky/engine/core/dom/Document.h

Issue 706403002: Remove all the now dead Locale code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.h
diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h
index 86d2e56372f6a71a682f2c7fefc08bf2ba40f849..c37f2179b84f66e5b67d7001f22f256bdfccbdde 100644
--- a/sky/engine/core/dom/Document.h
+++ b/sky/engine/core/dom/Document.h
@@ -96,7 +96,6 @@ class HTMLImportsController;
class HTMLScriptElement;
class HitTestRequest;
class LayoutPoint;
-class Locale;
class LocalDOMWindow;
class LocalFrame;
class Location;
@@ -608,9 +607,6 @@ public:
bool inStyleRecalc() const { return m_lifecycle.state() == DocumentLifecycle::InStyleRecalc; }
- // Return a Locale for the default locale if the argument is null or empty.
- Locale& getCachedLocale(const AtomicString& locale = nullAtom);
-
AnimationClock& animationClock() { return m_animationClock; }
AnimationTimeline& timeline() const { return *m_timeline; }
CompositorPendingAnimations& compositorPendingAnimations() { return m_compositorPendingAnimations; }
@@ -849,9 +845,6 @@ private:
OwnPtr<ElementDataCache> m_elementDataCache;
- typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap;
- LocaleIdentifierToLocaleMap m_localeCache;
-
AnimationClock m_animationClock;
RefPtr<AnimationTimeline> m_timeline;
CompositorPendingAnimations m_compositorPendingAnimations;
« no previous file with comments | « no previous file | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698