Changeset 262418 in webkit
- Timestamp:
- Jun 2, 2020 7:17:03 AM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r262416 r262418 1 2020-06-02 Mark Lam <mark.lam@apple.com> 2 3 Fix broken Windows build. 4 https://bugs.webkit.org/show_bug.cgi?id=212633 5 6 Reviewed by Yusuke Suzuki. 7 8 * html/HTMLCanvasElement.cpp: 9 (WebCore::HTMLCanvasElement::needsPreparationForDisplay): 10 (WebCore::HTMLCanvasElement::prepareForDisplay): 11 1 12 2020-06-02 Youenn Fablet <youenn@apple.com> 2 13 -
trunk/Source/WebCore/html/HTMLCanvasElement.cpp
r262366 r262418 1018 1018 bool HTMLCanvasElement::needsPreparationForDisplay() 1019 1019 { 1020 #if ENABLE(WEBGL) 1020 1021 return is<WebGLRenderingContextBase>(m_context.get()); 1022 #else 1023 return false; 1024 #endif 1021 1025 } 1022 1026 1023 1027 void HTMLCanvasElement::prepareForDisplay() 1024 1028 { 1029 #if ENABLE(WEBGL) 1025 1030 ASSERT(needsPreparationForDisplay()); 1026 1031 1027 1032 if (is<WebGLRenderingContextBase>(m_context.get())) 1028 1033 downcast<WebGLRenderingContextBase>(m_context.get())->prepareForDisplay(); 1029 } 1030 1031 } 1034 #endif 1035 } 1036 1037 }
Note: See TracChangeset
for help on using the changeset viewer.