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

Unified Diff: chrome/browser/renderer_host/backing_store_mac.mm

Issue 4399003: Deleted code associated with --enable-gpu-rendering and... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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
Index: chrome/browser/renderer_host/backing_store_mac.mm
===================================================================
--- chrome/browser/renderer_host/backing_store_mac.mm (revision 65168)
+++ chrome/browser/renderer_host/backing_store_mac.mm (working copy)
@@ -56,12 +56,7 @@
RenderProcessHost* process,
TransportDIB::Id bitmap,
const gfx::Rect& bitmap_rect,
- const std::vector<gfx::Rect>& copy_rects,
- bool* painted_synchronously) {
- // Our paints are always synchronous and the caller can free the TransportDIB,
- // even on failure.
- *painted_synchronously = true;
-
+ const std::vector<gfx::Rect>& copy_rects) {
DCHECK_NE(static_cast<bool>(cg_layer()), static_cast<bool>(cg_bitmap()));
TransportDIB* dib = process->GetTransportDIB(bitmap);
« no previous file with comments | « chrome/browser/renderer_host/backing_store_mac.h ('k') | chrome/browser/renderer_host/backing_store_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698