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

Side by Side Diff: Source/core/html/canvas/WebGLRenderingContext.cpp

Issue 642383002: Only include NotImplemented.h when it is actually used (when notImplemented() is called). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/workers/WorkerMessagingProxy.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "core/html/canvas/WebGLDebugRendererInfo.h" 48 #include "core/html/canvas/WebGLDebugRendererInfo.h"
49 #include "core/html/canvas/WebGLDebugShaders.h" 49 #include "core/html/canvas/WebGLDebugShaders.h"
50 #include "core/html/canvas/WebGLDepthTexture.h" 50 #include "core/html/canvas/WebGLDepthTexture.h"
51 #include "core/html/canvas/WebGLDrawBuffers.h" 51 #include "core/html/canvas/WebGLDrawBuffers.h"
52 #include "core/html/canvas/WebGLLoseContext.h" 52 #include "core/html/canvas/WebGLLoseContext.h"
53 #include "core/loader/FrameLoader.h" 53 #include "core/loader/FrameLoader.h"
54 #include "core/loader/FrameLoaderClient.h" 54 #include "core/loader/FrameLoaderClient.h"
55 #include "core/frame/Settings.h" 55 #include "core/frame/Settings.h"
56 #include "core/rendering/RenderBox.h" 56 #include "core/rendering/RenderBox.h"
57 #include "platform/CheckedInt.h" 57 #include "platform/CheckedInt.h"
58 #include "platform/NotImplemented.h"
59 #include "platform/graphics/gpu/DrawingBuffer.h" 58 #include "platform/graphics/gpu/DrawingBuffer.h"
60 #include "public/platform/Platform.h" 59 #include "public/platform/Platform.h"
61 60
62 namespace blink { 61 namespace blink {
63 62
64 PassOwnPtrWillBeRawPtr<WebGLRenderingContext> WebGLRenderingContext::create(HTML CanvasElement* canvas, WebGLContextAttributes* attrs) 63 PassOwnPtrWillBeRawPtr<WebGLRenderingContext> WebGLRenderingContext::create(HTML CanvasElement* canvas, WebGLContextAttributes* attrs)
65 { 64 {
66 Document& document = canvas->document(); 65 Document& document = canvas->document();
67 LocalFrame* frame = document.frame(); 66 LocalFrame* frame = document.frame();
68 if (!frame) { 67 if (!frame) {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 visitor->trace(m_webglDrawBuffers); 165 visitor->trace(m_webglDrawBuffers);
167 visitor->trace(m_webglCompressedTextureATC); 166 visitor->trace(m_webglCompressedTextureATC);
168 visitor->trace(m_webglCompressedTextureETC1); 167 visitor->trace(m_webglCompressedTextureETC1);
169 visitor->trace(m_webglCompressedTexturePVRTC); 168 visitor->trace(m_webglCompressedTexturePVRTC);
170 visitor->trace(m_webglCompressedTextureS3TC); 169 visitor->trace(m_webglCompressedTextureS3TC);
171 visitor->trace(m_webglDepthTexture); 170 visitor->trace(m_webglDepthTexture);
172 WebGLRenderingContextBase::trace(visitor); 171 WebGLRenderingContextBase::trace(visitor);
173 } 172 }
174 173
175 } // namespace blink 174 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/workers/WorkerMessagingProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698