Skip to content

Commit

Permalink
Fix windows embedder builds. (flutter#6137)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored and amirh committed Sep 21, 2018
1 parent a1cda38 commit 9b6615d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shell/platform/embedder/embedder_surface_gl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

#include "flutter/shell/common/io_manager.h"

#ifdef ERROR
#undef ERROR
#endif

namespace shell {

EmbedderSurfaceGL::EmbedderSurfaceGL(GLDispatchTable gl_dispatch_table,
Expand Down
4 changes: 4 additions & 0 deletions shell/platform/embedder/embedder_surface_software.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
#include "flutter/fml/trace_event.h"
#include "third_party/skia/include/gpu/GrContext.h"

#ifdef ERROR
#undef ERROR
#endif

namespace shell {

EmbedderSurfaceSoftware::EmbedderSurfaceSoftware(
Expand Down
4 changes: 4 additions & 0 deletions shell/platform/embedder/platform_view_embedder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

#include "flutter/shell/platform/embedder/platform_view_embedder.h"

#ifdef ERROR
#undef ERROR
#endif

namespace shell {

PlatformViewEmbedder::PlatformViewEmbedder(
Expand Down

0 comments on commit 9b6615d

Please sign in to comment.