Skip to content

Commit 2250e96

Browse files
authored
browser(webkit): fix wpe build (#2501)
1 parent 946b4ef commit 2250e96

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

browser_patches/webkit/BUILD_NUMBER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1270
1+
1271

browser_patches/webkit/patches/bootstrap.diff

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8606,10 +8606,10 @@ index 59cdfdafab1d85ea3a5aecb3cd2293e6dfb1eb8d..52fe7990b1c18b964ee3cfa9f324e3c2
86068606
// The timeout we use when waiting for a DidUpdateGeometry message.
86078607
diff --git a/Source/WebKit/UIProcess/Inspector/Agents/InspectorScreencastAgent.cpp b/Source/WebKit/UIProcess/Inspector/Agents/InspectorScreencastAgent.cpp
86088608
new file mode 100644
8609-
index 0000000000000000000000000000000000000000..d796a81ab5dae0627fab017f77074d411c4da40a
8609+
index 0000000000000000000000000000000000000000..4da3a8e8e55b60c29240692ce2bb316de8b28cb1
86108610
--- /dev/null
86118611
+++ b/Source/WebKit/UIProcess/Inspector/Agents/InspectorScreencastAgent.cpp
8612-
@@ -0,0 +1,255 @@
8612+
@@ -0,0 +1,259 @@
86138613
+/*
86148614
+ * Copyright (C) 2020 Microsoft Corporation.
86158615
+ *
@@ -8682,8 +8682,12 @@ index 0000000000000000000000000000000000000000..d796a81ab5dae0627fab017f77074d41
86828682
+#if USE(COORDINATED_GRAPHICS)
86838683
+void InspectorScreencastAgent::didPaint(cairo_surface_t* surface)
86848684
+{
8685+
+#if PLATFORM(GTK)
86858686
+ if (m_encoder)
86868687
+ m_encoder->encodeFrame(surface, m_page.drawingArea()->size());
8688+
+#else
8689+
+ UNUSED_PARAM(surface);
8690+
+#endif
86878691
+}
86888692
+#endif
86898693
+

0 commit comments

Comments
 (0)