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

Unified Diff: webkit/api/src/WebImageSkia.cpp

Issue 215040: Enable webkit.gyp compiler warnings on mac only. (Closed)
Patch Set: Created 11 years, 3 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 | « no previous file | webkit/webkit.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/src/WebImageSkia.cpp
diff --git a/webkit/api/src/WebImageSkia.cpp b/webkit/api/src/WebImageSkia.cpp
index 3d684a7e2a39e85d90043f473e4d6c8f591c1550..a262b40d6ecc8c8bcdf2414d593f85c5d10d8cdf 100644
--- a/webkit/api/src/WebImageSkia.cpp
+++ b/webkit/api/src/WebImageSkia.cpp
@@ -57,7 +57,7 @@ WebImage WebImage::fromData(const WebData& data, const WebSize& desiredSize)
// which has the highest bit depth.
const size_t frameCount = source.frameCount();
size_t index = 0; // Default to first frame if none are large enough.
- int frameAreaAtIndex;
+ int frameAreaAtIndex = 0;
for (size_t i = 0; i < frameCount; ++i) {
const IntSize frameSize = source.frameSizeAtIndex(i);
if (WebSize(frameSize) == desiredSize) {
« no previous file with comments | « no previous file | webkit/webkit.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698