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

Unified Diff: Source/core/frame/LocalDOMWindow.cpp

Issue 1176713003: Make the CSS interface members static (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updating as per review comments Created 5 years, 6 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/frame/LocalDOMWindow.h ('k') | Source/core/frame/RemoteDOMWindow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/LocalDOMWindow.cpp
diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
index 6c7844051e3574eab89b829e16aee22e4641bbf2..8092a4c1db7dd35a675a8f71ae6444a63d82d70c 100644
--- a/Source/core/frame/LocalDOMWindow.cpp
+++ b/Source/core/frame/LocalDOMWindow.cpp
@@ -1312,13 +1312,6 @@ void LocalDOMWindow::cancelAnimationFrame(int id)
d->cancelAnimationFrame(id);
}
-DOMWindowCSS* LocalDOMWindow::css() const
-{
- if (!m_css)
- m_css = DOMWindowCSS::create();
- return m_css.get();
-}
-
bool LocalDOMWindow::addEventListener(const AtomicString& eventType, PassRefPtr<EventListener> prpListener, bool useCapture)
{
RefPtr<EventListener> listener = prpListener;
@@ -1515,7 +1508,6 @@ DEFINE_TRACE(LocalDOMWindow)
visitor->trace(m_navigator);
visitor->trace(m_media);
visitor->trace(m_applicationCache);
- visitor->trace(m_css);
visitor->trace(m_eventQueue);
visitor->trace(m_postMessageTimers);
HeapSupplementable<LocalDOMWindow>::trace(visitor);
« no previous file with comments | « Source/core/frame/LocalDOMWindow.h ('k') | Source/core/frame/RemoteDOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698