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

Unified Diff: chrome/browser/printing/print_view_manager.cc

Issue 11410051: Moved AlphaBlend rasterization to renderer process like it was before 152681. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | chrome/renderer/print_web_view_helper_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_view_manager.cc
diff --git a/chrome/browser/printing/print_view_manager.cc b/chrome/browser/printing/print_view_manager.cc
index cad5695004979547065700eee863ec5f7a757cba..410c1f44fd7f84372a108dacc2618ad24519c37c 100644
--- a/chrome/browser/printing/print_view_manager.cc
+++ b/chrome/browser/printing/print_view_manager.cc
@@ -274,14 +274,7 @@ void PrintViewManager::OnDidPrintPage(
web_contents()->Stop();
return;
}
- } else if (!print_job_->settings().supports_alpha_blend() &&
- metafile->IsAlphaBlendUsed()) {
- scoped_ptr<NativeMetafile> raster_metafile(
- metafile->RasterizeAlphaBlend());
- if (raster_metafile.get())
- metafile.swap(raster_metafile);
}
-
#endif
// Update the rendered document. It will send notifications to the listener.
« no previous file with comments | « no previous file | chrome/renderer/print_web_view_helper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698