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

Unified Diff: chrome/browser/thumbnails/simple_thumbnail_crop.cc

Issue 1445433005: Fix local variable init problem detected by the memory sanitizer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/thumbnails/simple_thumbnail_crop.cc
diff --git a/chrome/browser/thumbnails/simple_thumbnail_crop.cc b/chrome/browser/thumbnails/simple_thumbnail_crop.cc
index 5af2ae9e927df93a294624230060582b75052b98..92bc0b4a5a234913ef096a3acfe0ba1aefca81d0 100644
--- a/chrome/browser/thumbnails/simple_thumbnail_crop.cc
+++ b/chrome/browser/thumbnails/simple_thumbnail_crop.cc
@@ -45,7 +45,7 @@ void SimpleThumbnailCrop::ProcessBitmap(
if (bitmap.isNull() || bitmap.empty())
return;
- ClipResult clip_result;
+ ClipResult clip_result = context->clip_result();
SkBitmap thumbnail = CreateThumbnail(
bitmap,
ComputeTargetSizeAtMaximumScale(target_size_),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698