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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp

Issue 1922473002: Remove unnecessary ExceptionCode.h inclusion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "modules/webgl/WebGLRenderingContextBase.h" 26 #include "modules/webgl/WebGLRenderingContextBase.h"
27 27
28 #include "bindings/core/v8/ExceptionMessages.h" 28 #include "bindings/core/v8/ExceptionMessages.h"
29 #include "bindings/core/v8/ExceptionState.h" 29 #include "bindings/core/v8/ExceptionState.h"
30 #include "bindings/modules/v8/WebGLAny.h" 30 #include "bindings/modules/v8/WebGLAny.h"
31 #include "core/dom/DOMArrayBuffer.h" 31 #include "core/dom/DOMArrayBuffer.h"
32 #include "core/dom/DOMTypedArray.h" 32 #include "core/dom/DOMTypedArray.h"
33 #include "core/dom/ExceptionCode.h"
34 #include "core/dom/FlexibleArrayBufferView.h" 33 #include "core/dom/FlexibleArrayBufferView.h"
35 #include "core/fetch/ImageResource.h" 34 #include "core/fetch/ImageResource.h"
36 #include "core/frame/ImageBitmap.h" 35 #include "core/frame/ImageBitmap.h"
37 #include "core/frame/LocalFrame.h" 36 #include "core/frame/LocalFrame.h"
38 #include "core/frame/Settings.h" 37 #include "core/frame/Settings.h"
39 #include "core/html/HTMLCanvasElement.h" 38 #include "core/html/HTMLCanvasElement.h"
40 #include "core/html/HTMLImageElement.h" 39 #include "core/html/HTMLImageElement.h"
41 #include "core/html/HTMLVideoElement.h" 40 #include "core/html/HTMLVideoElement.h"
42 #include "core/html/ImageData.h" 41 #include "core/html/ImageData.h"
43 #include "core/inspector/ConsoleMessage.h" 42 #include "core/inspector/ConsoleMessage.h"
(...skipping 6179 matching lines...) Expand 10 before | Expand all | Expand 10 after
6223 contextGL()->PixelStorei(GL_UNPACK_ALIGNMENT, 1); 6222 contextGL()->PixelStorei(GL_UNPACK_ALIGNMENT, 1);
6224 } 6223 }
6225 6224
6226 void WebGLRenderingContextBase::restoreUnpackParameters() 6225 void WebGLRenderingContextBase::restoreUnpackParameters()
6227 { 6226 {
6228 if (m_unpackAlignment != 1) 6227 if (m_unpackAlignment != 1)
6229 contextGL()->PixelStorei(GL_UNPACK_ALIGNMENT, m_unpackAlignment); 6228 contextGL()->PixelStorei(GL_UNPACK_ALIGNMENT, m_unpackAlignment);
6230 } 6229 }
6231 6230
6232 } // namespace blink 6231 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698