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

Unified Diff: Source/core/dom/Document.h

Issue 1312843009: Improve CancellableTaskFactory handling and Oilpan usage. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add unwrap() clarification Created 5 years, 3 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 | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index df56047701d40d35a262e27db742e2dc5bf72737..bbe68f965dac9555a952bade4edbecde41b85551 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -57,7 +57,6 @@
#include "platform/Length.h"
#include "platform/Timer.h"
#include "platform/heap/Handle.h"
-#include "platform/scheduler/CancellableTaskFactory.h"
#include "platform/weborigin/KURL.h"
#include "platform/weborigin/ReferrerPolicy.h"
#include "public/platform/WebFocusType.h"
@@ -75,6 +74,7 @@ class Attr;
class CDATASection;
class CSSStyleDeclaration;
class CSSStyleSheet;
+class CancellableTaskFactory;
class CanvasFontCache;
class CanvasRenderingContext2D;
class CanvasRenderingContext2DOrWebGLRenderingContext;
@@ -1200,7 +1200,7 @@ private:
CompatibilityMode m_compatibilityMode;
bool m_compatibilityModeLocked; // This is cheaper than making setCompatibilityMode virtual.
- CancellableTaskFactory m_executeScriptsWaitingForResourcesTask;
+ OwnPtr<CancellableTaskFactory> m_executeScriptsWaitingForResourcesTask;
bool m_hasAutofocused;
Timer<Document> m_clearFocusedElementTimer;
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698