Skip to content

Commit

Permalink
browser(webkit): fix wpe build (#2501)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Jun 8, 2020
1 parent 946b4ef commit 2250e96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion browser_patches/webkit/BUILD_NUMBER
@@ -1 +1 @@
1270
1271
8 changes: 6 additions & 2 deletions browser_patches/webkit/patches/bootstrap.diff
Expand Up @@ -8606,10 +8606,10 @@ index 59cdfdafab1d85ea3a5aecb3cd2293e6dfb1eb8d..52fe7990b1c18b964ee3cfa9f324e3c2
// The timeout we use when waiting for a DidUpdateGeometry message.
diff --git a/Source/WebKit/UIProcess/Inspector/Agents/InspectorScreencastAgent.cpp b/Source/WebKit/UIProcess/Inspector/Agents/InspectorScreencastAgent.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..d796a81ab5dae0627fab017f77074d411c4da40a
index 0000000000000000000000000000000000000000..4da3a8e8e55b60c29240692ce2bb316de8b28cb1
--- /dev/null
+++ b/Source/WebKit/UIProcess/Inspector/Agents/InspectorScreencastAgent.cpp
@@ -0,0 +1,255 @@
@@ -0,0 +1,259 @@
+/*
+ * Copyright (C) 2020 Microsoft Corporation.
+ *
Expand Down Expand Up @@ -8682,8 +8682,12 @@ index 0000000000000000000000000000000000000000..d796a81ab5dae0627fab017f77074d41
+#if USE(COORDINATED_GRAPHICS)
+void InspectorScreencastAgent::didPaint(cairo_surface_t* surface)
+{
+#if PLATFORM(GTK)
+ if (m_encoder)
+ m_encoder->encodeFrame(surface, m_page.drawingArea()->size());
+#else
+ UNUSED_PARAM(surface);
+#endif
+}
+#endif
+
Expand Down

0 comments on commit 2250e96

Please sign in to comment.