diff options
author | shrike <shrike@chromium.org> | 2015-11-13 14:11:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-13 22:12:55 +0000 |
commit | 99fea0b98aa55336753da894d80d2a3f2bc66171 (patch) | |
tree | 5a9ca73606106adc95c85167711d3eb0ff2dc76e | |
parent | a1be41d3c5bdf7fb1f2e42f537915b8435a0a8e9 (diff) | |
download | chromium_src-99fea0b98aa55336753da894d80d2a3f2bc66171.zip chromium_src-99fea0b98aa55336753da894d80d2a3f2bc66171.tar.gz chromium_src-99fea0b98aa55336753da894d80d2a3f2bc66171.tar.bz2 |
Fix local variable init problem detected by the memory sanitizer.
BUG=555670
Review URL: https://codereview.chromium.org/1445433005
Cr-Commit-Position: refs/heads/master@{#359656}
-rw-r--r-- | chrome/browser/thumbnails/simple_thumbnail_crop.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/thumbnails/simple_thumbnail_crop.cc b/chrome/browser/thumbnails/simple_thumbnail_crop.cc index 5af2ae9..92bc0b4 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_), |