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

Unified Diff: Source/WebKit/chromium/src/ViewportAnchor.h

Issue 68303004: [oilpan] Move EventHandler to the heap (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 1 month 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/WebKit/chromium/src/ViewportAnchor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/ViewportAnchor.h
diff --git a/Source/WebKit/chromium/src/ViewportAnchor.h b/Source/WebKit/chromium/src/ViewportAnchor.h
index 551d7d1fe95572dff9766e594a4c0c0f116f9edd..8a7720b99e451a4c8477bc32987dd6fd40cbf044 100644
--- a/Source/WebKit/chromium/src/ViewportAnchor.h
+++ b/Source/WebKit/chromium/src/ViewportAnchor.h
@@ -55,13 +55,14 @@ namespace WebKit {
class ViewportAnchor {
WTF_MAKE_NONCOPYABLE(ViewportAnchor);
public:
- explicit ViewportAnchor(WebCore::EventHandler* eventHandler);
+ explicit ViewportAnchor(HANDLE_FORMAL(WebCore::EventHandler) eventHandler);
void setAnchor(const WebCore::IntRect& viewRect, const WebCore::FloatSize& anchorInViewCoords);
WebCore::IntPoint computeOrigin(const WebCore::IntSize& currentViewSize) const;
private:
+ // FIXME(oilpan): This should be a strong pointer.
WebCore::EventHandler* m_eventHandler;
WebCore::IntRect m_viewRect;
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/ViewportAnchor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698