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

Unified Diff: content/renderer/browser_plugin/mock_browser_plugin.cc

Issue 12207144: Apply merge from @fsamuel. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src/
Patch Set: Created 7 years, 10 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/browser_plugin/mock_browser_plugin.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/browser_plugin/mock_browser_plugin.cc
===================================================================
--- content/renderer/browser_plugin/mock_browser_plugin.cc (revision 182101)
+++ content/renderer/browser_plugin/mock_browser_plugin.cc (working copy)
@@ -12,20 +12,9 @@
RenderViewImpl* render_view,
WebKit::WebFrame* frame,
const WebKit::WebPluginParams& params)
- : BrowserPlugin(id, render_view, frame, params),
- transport_dib_next_sequence_number_(0) {
+ : BrowserPlugin(id, render_view, frame, params) {
}
MockBrowserPlugin::~MockBrowserPlugin() {}
-TransportDIB* MockBrowserPlugin::CreateTransportDIB(const size_t size) {
- return TransportDIB::Create(size, transport_dib_next_sequence_number_++);
-}
-
-void MockBrowserPlugin::FreeDamageBuffer(TransportDIB** damage_buffer) {
- DCHECK(*damage_buffer);
- RenderProcess::current()->FreeTransportDIB(*damage_buffer);
- *damage_buffer = NULL;
-}
-
} // namespace content
« no previous file with comments | « content/renderer/browser_plugin/mock_browser_plugin.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698