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

Unified Diff: Source/core/platform/image-decoders/gif/GIFImageReader.cpp

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 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 | « Source/core/platform/chromium/ChromiumDataObject.cpp ('k') | Source/core/rendering/RenderQuote.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/image-decoders/gif/GIFImageReader.cpp
diff --git a/Source/core/platform/image-decoders/gif/GIFImageReader.cpp b/Source/core/platform/image-decoders/gif/GIFImageReader.cpp
index b933855fa4c0398ac8e6e91c9b77f6633db5c8dd..b7f7a9c0e846216bb324d83ea942dd690f16f22c 100644
--- a/Source/core/platform/image-decoders/gif/GIFImageReader.cpp
+++ b/Source/core/platform/image-decoders/gif/GIFImageReader.cpp
@@ -488,11 +488,11 @@ bool GIFImageReader::parseData(size_t dataPosition, size_t len, GIFImageDecoder:
case GIFExtension: {
size_t bytesInBlock = currentComponent[1];
- GIFState es = GIFSkipBlock;
+ GIFState exceptionState = GIFSkipBlock;
switch (*currentComponent) {
case 0xf9:
- es = GIFControlExtension;
+ exceptionState = GIFControlExtension;
// The GIF spec mandates that the GIFControlExtension header block length is 4 bytes,
// and the parser for this block reads 4 bytes, so we must enforce that the buffer
// contains at least this many bytes. If the GIF specifies a different length, we
@@ -511,16 +511,16 @@ bool GIFImageReader::parseData(size_t dataPosition, size_t len, GIFImageDecoder:
break;
case 0xff:
- es = GIFApplicationExtension;
+ exceptionState = GIFApplicationExtension;
break;
case 0xfe:
- es = GIFConsumeComment;
+ exceptionState = GIFConsumeComment;
break;
}
if (bytesInBlock)
- GETN(bytesInBlock, es);
+ GETN(bytesInBlock, exceptionState);
else
GETN(1, GIFImageStart);
break;
« no previous file with comments | « Source/core/platform/chromium/ChromiumDataObject.cpp ('k') | Source/core/rendering/RenderQuote.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698