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

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 test expectations 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
Index: Source/core/frame/LocalDOMWindow.cpp
diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
index 97179dffc684d668a491d62c2e04e7a5c7423c7c..44d8dc4a7ea541e9ee635a26af09a6829262a19a 100644
--- a/Source/core/frame/LocalDOMWindow.cpp
+++ b/Source/core/frame/LocalDOMWindow.cpp
@@ -1302,13 +1302,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;

Powered by Google App Engine
This is Rietveld 408576698