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

Unified Diff: Source/core/clipboard/Pasteboard.h

Issue 1171223004: Sanitize SVG animation attributes which could set JavaScript URL values. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/core.gypi » ('j') | Source/core/svg/SVGAnimateElement.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/Pasteboard.h
diff --git a/Source/core/clipboard/Pasteboard.h b/Source/core/clipboard/Pasteboard.h
index d0e8092a6e59ae5502d99f88edf2de995a239195..2cf5987d0aa654e103b72443796520ef201e9d9d 100644
--- a/Source/core/clipboard/Pasteboard.h
+++ b/Source/core/clipboard/Pasteboard.h
@@ -46,6 +46,8 @@ public:
CannotSmartReplace
};
+ Pasteboard();
dcheng 2015/06/10 09:35:28 Can we just use Pasteboard::generalPasteboard() in
+
static Pasteboard* generalPasteboard();
void writePlainText(const String&, SmartReplaceOption);
void writeImage(Image*, const KURL&, const String& title);
@@ -69,8 +71,6 @@ public:
WebClipboard::Buffer buffer() const { return m_buffer; }
private:
- Pasteboard();
-
WebClipboard::Buffer m_buffer;
};
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | Source/core/svg/SVGAnimateElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698