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

Unified Diff: third_party/WebKit/Source/core/dom/PendingScript.h

Issue 1866663002: Remove unnecessary includes from dom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: third_party/WebKit/Source/core/dom/PendingScript.h
diff --git a/third_party/WebKit/Source/core/dom/PendingScript.h b/third_party/WebKit/Source/core/dom/PendingScript.h
index a16d0c7136ec4fefa8ab0e32b184b7cae8764f11..c258de6ffe87d7d83d1b13da530fa1c86c42888a 100644
--- a/third_party/WebKit/Source/core/dom/PendingScript.h
+++ b/third_party/WebKit/Source/core/dom/PendingScript.h
@@ -31,8 +31,6 @@
#include "core/fetch/ResourceOwner.h"
#include "core/fetch/ScriptResource.h"
#include "platform/heap/Handle.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefPtr.h"
#include "wtf/text/TextPosition.h"
namespace blink {
@@ -42,6 +40,7 @@ class ScriptSourceCode;
// A container for an external script which may be loaded and executed.
//
+// TODO(kochi): The comment below is from pre-oilpan age and may not be correct now.
// A RefPtr alone does not prevent the underlying Resource
// from purging its data buffer. This class holds a dummy client open for its
// lifetime in order to guarantee that the data buffer will not be purged.
« no previous file with comments | « third_party/WebKit/Source/core/dom/NthIndexCache.h ('k') | third_party/WebKit/Source/core/dom/PresentationAttributeStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698