| 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) {
|
|
|