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

Unified Diff: page/DOMWindow.cpp

Issue 155289: Chaos Demo Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: '' Created 11 years, 5 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 | « page/DOMWindow.h ('k') | page/DOMWindow.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: page/DOMWindow.cpp
===================================================================
--- page/DOMWindow.cpp (revision 45460)
+++ page/DOMWindow.cpp (working copy)
@@ -32,6 +32,7 @@
#include "CSSRuleList.h"
#include "CSSStyleSelector.h"
#include "CString.h"
+#include "Chaos.h"
#include "Chrome.h"
#include "Console.h"
#include "DOMSelection.h"
@@ -2005,4 +2006,10 @@
// Not implemented.
}
+Chaos *DOMWindow::chaos() const {
+ if (!m_chaos)
+ m_chaos = new Chaos();
+ return m_chaos.get();
+}
+
} // namespace WebCore
« no previous file with comments | « page/DOMWindow.h ('k') | page/DOMWindow.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698