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

Unified Diff: Source/WebKit/chromium/public/WebDOMEvent.h

Issue 14773025: Create ResourceProgressEvent, expose as Chromium API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: (merge) Created 7 years, 7 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: Source/WebKit/chromium/public/WebDOMEvent.h
diff --git a/Source/WebKit/chromium/public/WebDOMEvent.h b/Source/WebKit/chromium/public/WebDOMEvent.h
index d85648d8750ae859cb9deba52b659726554f531c..f230c771e4ea7822d98bcd14c2c66b5973850336 100644
--- a/Source/WebKit/chromium/public/WebDOMEvent.h
+++ b/Source/WebKit/chromium/public/WebDOMEvent.h
@@ -112,7 +112,11 @@ public:
protected:
typedef WebCore::Event WebDOMEventPrivate;
+ // assign() assumes that the given WebCore::Event has already had a
+ // reference-count added by the caller. This WebDOMEvent takes ownership of
+ // that ref-count.
void assign(WebDOMEventPrivate*);
+ void assign(const WTF::PassRefPtr<WebDOMEventPrivate>&);
WebDOMEventPrivate* m_private;
template<typename T> T* unwrap()

Powered by Google App Engine
This is Rietveld 408576698