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

Unified Diff: Source/platform/HostWindow.h

Issue 1291903003: Oilpan: Move ChromeClient classes into Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a raw reference in InspectorOverlayImpl.cpp. Created 5 years, 4 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/testing/DummyPageHolder.cpp ('k') | Source/web/ChromeClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/HostWindow.h
diff --git a/Source/platform/HostWindow.h b/Source/platform/HostWindow.h
index 2be101995b12aff51235142fcfaaedabd084b30d..9776b3132766a829b96b13bb5c88580654870eb4 100644
--- a/Source/platform/HostWindow.h
+++ b/Source/platform/HostWindow.h
@@ -27,6 +27,7 @@
#define HostWindow_h
#include "platform/PlatformExport.h"
+#include "platform/heap/Handle.h"
#include "wtf/FastAllocBase.h"
#include "wtf/Noncopyable.h"
@@ -34,11 +35,13 @@ namespace blink {
class IntRect;
struct WebScreenInfo;
-class PLATFORM_EXPORT HostWindow {
- WTF_MAKE_NONCOPYABLE(HostWindow); WTF_MAKE_FAST_ALLOCATED(HostWindow);
+class PLATFORM_EXPORT HostWindow : public NoBaseWillBeGarbageCollectedFinalized<HostWindow> {
+ WTF_MAKE_NONCOPYABLE(HostWindow);
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(HostWindow);
public:
HostWindow() { }
virtual ~HostWindow() { }
+ DEFINE_INLINE_VIRTUAL_TRACE() { }
// Requests the host invalidate the contents.
virtual void invalidateRect(const IntRect& updateRect) = 0;
« no previous file with comments | « Source/core/testing/DummyPageHolder.cpp ('k') | Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698