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

Unified Diff: webkit/glue/clipboard_client.h

Issue 10078001: Fix leak in ScopedClipboardWriterGlue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « content/renderer/renderer_clipboard_client.cc ('k') | webkit/glue/scoped_clipboard_writer_glue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/clipboard_client.h
diff --git a/webkit/glue/clipboard_client.h b/webkit/glue/clipboard_client.h
index 6c9856c8b035075ff2b4496dc930280de6805b39..9d69c988a86fa1067b7c4dfa70dc79e57348f0a0 100644
--- a/webkit/glue/clipboard_client.h
+++ b/webkit/glue/clipboard_client.h
@@ -23,8 +23,8 @@ class ClipboardClient {
const void* pixels,
const gfx::Size& size) = 0;
- // Flushes all gathered data, and destroys the context.
- virtual void FlushAndDestroy(const ui::Clipboard::ObjectMap& objects) = 0;
+ // Flushes all gathered data.
+ virtual void Flush(const ui::Clipboard::ObjectMap& objects) = 0;
};
virtual ~ClipboardClient() { }
« no previous file with comments | « content/renderer/renderer_clipboard_client.cc ('k') | webkit/glue/scoped_clipboard_writer_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698