| OLD | NEW |
| 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 27 matching lines...) Expand all Loading... |
| 38 #include "core/dom/TaskRunnerHelper.h" | 38 #include "core/dom/TaskRunnerHelper.h" |
| 39 #include "core/frame/ImageBitmap.h" | 39 #include "core/frame/ImageBitmap.h" |
| 40 #include "core/frame/LocalFrame.h" | 40 #include "core/frame/LocalFrame.h" |
| 41 #include "core/frame/LocalFrameClient.h" | 41 #include "core/frame/LocalFrameClient.h" |
| 42 #include "core/frame/Settings.h" | 42 #include "core/frame/Settings.h" |
| 43 #include "core/html/HTMLCanvasElement.h" | 43 #include "core/html/HTMLCanvasElement.h" |
| 44 #include "core/html/HTMLImageElement.h" | 44 #include "core/html/HTMLImageElement.h" |
| 45 #include "core/html/HTMLVideoElement.h" | 45 #include "core/html/HTMLVideoElement.h" |
| 46 #include "core/html/ImageData.h" | 46 #include "core/html/ImageData.h" |
| 47 #include "core/inspector/ConsoleMessage.h" | 47 #include "core/inspector/ConsoleMessage.h" |
| 48 #include "core/inspector/InspectorInstrumentation.h" | |
| 49 #include "core/layout/LayoutBox.h" | 48 #include "core/layout/LayoutBox.h" |
| 50 #include "core/loader/FrameLoader.h" | 49 #include "core/loader/FrameLoader.h" |
| 51 #include "core/origin_trials/OriginTrials.h" | 50 #include "core/origin_trials/OriginTrials.h" |
| 51 #include "core/probe/CoreProbes.h" |
| 52 #include "gpu/command_buffer/client/gles2_interface.h" | 52 #include "gpu/command_buffer/client/gles2_interface.h" |
| 53 #include "modules/webgl/ANGLEInstancedArrays.h" | 53 #include "modules/webgl/ANGLEInstancedArrays.h" |
| 54 #include "modules/webgl/EXTBlendMinMax.h" | 54 #include "modules/webgl/EXTBlendMinMax.h" |
| 55 #include "modules/webgl/EXTFragDepth.h" | 55 #include "modules/webgl/EXTFragDepth.h" |
| 56 #include "modules/webgl/EXTShaderTextureLOD.h" | 56 #include "modules/webgl/EXTShaderTextureLOD.h" |
| 57 #include "modules/webgl/EXTTextureFilterAnisotropic.h" | 57 #include "modules/webgl/EXTTextureFilterAnisotropic.h" |
| 58 #include "modules/webgl/GLStringQuery.h" | 58 #include "modules/webgl/GLStringQuery.h" |
| 59 #include "modules/webgl/OESElementIndexUint.h" | 59 #include "modules/webgl/OESElementIndexUint.h" |
| 60 #include "modules/webgl/OESStandardDerivatives.h" | 60 #include "modules/webgl/OESStandardDerivatives.h" |
| 61 #include "modules/webgl/OESTextureFloat.h" | 61 #include "modules/webgl/OESTextureFloat.h" |
| (...skipping 7783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7845 | 7845 |
| 7846 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas( | 7846 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas( |
| 7847 HTMLCanvasElementOrOffscreenCanvas& result) const { | 7847 HTMLCanvasElementOrOffscreenCanvas& result) const { |
| 7848 if (canvas()) | 7848 if (canvas()) |
| 7849 result.setHTMLCanvasElement(canvas()); | 7849 result.setHTMLCanvasElement(canvas()); |
| 7850 else | 7850 else |
| 7851 result.setOffscreenCanvas(offscreenCanvas()); | 7851 result.setOffscreenCanvas(offscreenCanvas()); |
| 7852 } | 7852 } |
| 7853 | 7853 |
| 7854 } // namespace blink | 7854 } // namespace blink |
| OLD | NEW |