Commit 794831df authored by Stephen White's avatar Stephen White Committed by Commit Bot

Fix Skia-Dawn build.

Tiny fix: make SkiaOutputDeviceDawn to use gfx:: prefixed SurfaceOrigin.

Change-Id: I5bf8c217eeacc79af82084ae61e98863c04ed559
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2085292
Auto-Submit: Stephen White <senorblanco@chromium.org>
Reviewed-by: default avatarSean Gilhuly <sgilhuly@chromium.org>
Reviewed-by: default avatarkylechar <kylechar@chromium.org>
Commit-Queue: kylechar <kylechar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#746472}
parent 354405a3
...@@ -87,7 +87,7 @@ SkSurface* SkiaOutputDeviceDawn::BeginPaint() { ...@@ -87,7 +87,7 @@ SkSurface* SkiaOutputDeviceDawn::BeginPaint() {
DCHECK(backend_target.isValid()); DCHECK(backend_target.isValid());
sk_surface_ = SkSurface::MakeFromBackendRenderTarget( sk_surface_ = SkSurface::MakeFromBackendRenderTarget(
context_provider_->GetGrContext(), backend_target, context_provider_->GetGrContext(), backend_target,
capabilities_.output_surface_origin == SurfaceOrigin::kTopLeft capabilities_.output_surface_origin == gfx::SurfaceOrigin::kTopLeft
? kTopLeft_GrSurfaceOrigin ? kTopLeft_GrSurfaceOrigin
: kBottomLeft_GrSurfaceOrigin, : kBottomLeft_GrSurfaceOrigin,
kSurfaceColorType, sk_color_space_, /*surfaceProps=*/nullptr); kSurfaceColorType, sk_color_space_, /*surfaceProps=*/nullptr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment