Changeset 245179 in webkit
- Timestamp:
- May 10, 2019 11:03:56 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/ThirdParty/ANGLE/CMakeLists.txt
r245088 r245179 150 150 151 151 if (COMPILER_IS_GCC_OR_CLANG) 152 WEBKIT_ADD_TARGET_CXX_FLAGS(ANGLE -Wno-cast-align -Wno-unused-parameter) 152 WEBKIT_ADD_TARGET_CXX_FLAGS(ANGLE -Wno-cast-align 153 -Wno-suggest-attribute=format 154 -Wno-type-limits 155 -Wno-undef 156 -Wno-unused-parameter) 153 157 endif () 154 158 -
trunk/Source/ThirdParty/ANGLE/ChangeLog
r245155 r245179 1 2019-05-10 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 Fix a bunch of compiler warnings 4 https://bugs.webkit.org/show_bug.cgi?id=197785 5 6 Reviewed by Don Olmstead. 7 8 Add compiler flags to suppress various warnings triggered by the new version of ANGLE. 9 10 * CMakeLists.txt: 11 1 12 2019-05-09 Don Olmstead <don.olmstead@sony.com> 2 13 -
trunk/Source/WebCore/CMakeLists.txt
r245090 r245179 1973 1973 target_include_directories(WebCoreTestSupport PUBLIC ${WebCoreTestSupport_INCLUDE_DIRECTORIES} ${WebCore_INCLUDE_DIRECTORIES}) 1974 1974 target_include_directories(WebCoreTestSupport PRIVATE ${WebCoreTestSupport_PRIVATE_INCLUDE_DIRECTORIES} ${WebCore_PRIVATE_INCLUDE_DIRECTORIES}) 1975 target_include_directories(WebCoreTestSupport SYSTEM PUBLIC ${WebCore _SYSTEM_INCLUDE_DIRECTORIES})1975 target_include_directories(WebCoreTestSupport SYSTEM PUBLIC ${WebCoreTestSupport_SYSTEM_INCLUDE_DIRECTORIES} ${WebCore_SYSTEM_INCLUDE_DIRECTORIES}) 1976 1976 target_link_libraries(WebCoreTestSupport PRIVATE ${WebCoreTestSupport_LIBRARIES}) 1977 1977 -
trunk/Source/WebCore/ChangeLog
r245175 r245179 1 2019-05-10 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 Fix a bunch of compiler warnings 4 https://bugs.webkit.org/show_bug.cgi?id=197785 5 6 Reviewed by Don Olmstead. 7 8 * CMakeLists.txt: WebCoreTestSupport should accept extra SYSTEM includes. 9 * PlatformGTK.cmake: GTK includes should be added to SYSTEM headers to avoid warnings. 10 * inspector/InspectorCanvas.cpp: Add preprocessor guards to fix unused function warning. 11 * rendering/RenderLayer.cpp: Fix unused variable warning. 12 (WebCore::RenderLayer::updateClipRects): 13 1 14 2019-05-10 Antti Koivisto <antti@apple.com> 2 15 -
trunk/Source/WebCore/PlatformGTK.cmake
r245088 r245179 215 215 216 216 list(APPEND WebCoreTestSupport_LIBRARIES PRIVATE ${GTK_LIBRARIES}) 217 list(APPEND WebCoreTestSupport_ INCLUDE_DIRECTORIES ${GTK_INCLUDE_DIRS})217 list(APPEND WebCoreTestSupport_SYSTEM_INCLUDE_DIRECTORIES ${GTK_INCLUDE_DIRS}) 218 218 219 219 add_definitions(-DBUILDING_WEBKIT) -
trunk/Source/WebCore/inspector/InspectorCanvas.cpp
r244908 r245179 139 139 } 140 140 141 #if ENABLE(WEBGL) 141 142 static bool shouldSnapshotWebGLAction(const String& name) 142 143 { … … 145 146 || name == "drawElements"; 146 147 } 147 148 #endif 149 150 #if ENABLE(WEBGL2) 148 151 static bool shouldSnapshotWebGL2Action(const String& name) 149 152 { … … 154 157 || name == "drawElementsInstanced"; 155 158 } 159 #endif 156 160 157 161 void InspectorCanvas::recordAction(const String& name, Vector<RecordCanvasActionVariant>&& parameters) -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r245170 r245179 5501 5501 // For transformed layers, the root layer was shifted to be us, so there is no need to 5502 5502 // examine the parent. We want to cache clip rects with us as the root. 5503 if ( auto* parentLayer = (clipRectsContext.rootLayer != this ? parent() : nullptr))5503 if (clipRectsContext.rootLayer != this && parent()) 5504 5504 parentClipRects = this->parentClipRects(clipRectsContext); 5505 5505 -
trunk/Source/WebKit/ChangeLog
r245178 r245179 1 2019-05-10 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 Fix a bunch of compiler warnings 4 https://bugs.webkit.org/show_bug.cgi?id=197785 5 6 Reviewed by Don Olmstead. 7 8 Guard Cocoa-specific format modifier to avoid -Wformat warning. 9 10 * NetworkProcess/AdClickAttributionManager.cpp: 11 (WebKit::AdClickAttributionManager::fireConversionRequest): 12 1 13 2019-05-10 Chris Fleizach <cfleizach@apple.com> 2 14 -
trunk/Source/WebKit/NetworkProcess/AdClickAttributionManager.cpp
r244818 r245179 182 182 183 183 m_pingLoadFunction(WTFMove(loadParameters), [](const WebCore::ResourceError& error, const WebCore::ResourceResponse& response) { 184 #if PLATFORM(COCOA) 184 185 RELEASE_LOG_ERROR_IF(!error.isNull(), AdClickAttribution, "Received error: '%{public}s' for ad click attribution request.", error.localizedDescription().utf8().data()); 186 #else 187 RELEASE_LOG_ERROR_IF(!error.isNull(), AdClickAttribution, "Received error: '%s' for ad click attribution request.", error.localizedDescription().utf8().data()); 188 #endif 185 189 UNUSED_PARAM(response); 186 190 UNUSED_PARAM(error); -
trunk/Tools/ChangeLog
r245176 r245179 1 2019-05-10 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 Fix a bunch of compiler warnings 4 https://bugs.webkit.org/show_bug.cgi?id=197785 5 6 Reviewed by Don Olmstead. 7 8 Add preprocessor guards to avoid -Wunused-function warnings. 9 10 * TestWebKitAPI/Tests/WebCore/FloatRect.cpp: 11 * TestWebKitAPI/Tests/WebCore/IntRect.cpp: 12 * TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp: 13 1 14 2019-05-10 Michael Catanzaro <mcatanzaro@igalia.com> 2 15 -
trunk/Tools/TestWebKitAPI/Tests/WebCore/FloatRect.cpp
r217521 r245179 604 604 } 605 605 606 #if USE(CG) || PLATFORM(WIN) 606 607 static void checkCastRect(const WebCore::FloatRect& rect) 607 608 { … … 613 614 EXPECT_FLOAT_EQ(40.0f, rect.height()); 614 615 } 616 #endif 615 617 616 618 TEST(FloatRect, Casting) -
trunk/Tools/TestWebKitAPI/Tests/WebCore/IntRect.cpp
r207708 r245179 482 482 } 483 483 484 #if USE(CG) || PLATFORM(WIN) 484 485 static void checkCastRect(const WebCore::IntRect& rect) 485 486 { … … 491 492 EXPECT_EQ(40, rect.height()); 492 493 } 494 #endif 493 495 494 496 TEST(IntRect, Casting) … … 585 587 } 586 588 589 #if USE(CG) 587 590 static void checkEnclosingIntRect(const WebCore::IntRect& rect) 588 591 { … … 594 597 EXPECT_EQ(41, rect.height()); 595 598 } 599 #endif 596 600 597 601 TEST(IntRect, EnclosingIntRect) -
trunk/Tools/TestWebKitAPI/Tests/WebCore/TransformationMatrix.cpp
r234439 r245179 1188 1188 } 1189 1189 1190 #if USE(CA) 1190 1191 static void testTranslationMatrix(const WebCore::TransformationMatrix& matrix) 1191 1192 { … … 1207 1208 EXPECT_DOUBLE_EQ(1.0, matrix.m44()); 1208 1209 } 1210 #endif 1209 1211 1210 1212 TEST(TransformationMatrix, Casting)
Note: See TracChangeset
for help on using the changeset viewer.