Commit 509a3631 authored by reveman's avatar reveman Committed by Commit bot

exo: Fix zwp ctor typos.

Causing crashes as it makes us create objects of incorrect
type.

BUG=631960
TBR=piman@chromium.org

Review-Url: https://codereview.chromium.org/2352663002
Cr-Commit-Position: refs/heads/master@{#419443}
parent f194022f
......@@ -2337,7 +2337,7 @@ void bind_remote_shell_DEPRECATED(wl_client* client,
std::min(version, remote_shell_version_DEPRECATED), id);
SetImplementation(resource, &remote_shell_implementation_DEPRECATED,
base::MakeUnique<WaylandRemoteShell>(
base::MakeUnique<WaylandRemoteShell_DEPRECATED>(
static_cast<Display*>(data), resource));
}
......@@ -2544,8 +2544,9 @@ void vsync_feedback_get_vsync_timing_DEPRECATED(wl_client* client,
ui::Compositor* compositor =
ash::Shell::GetPrimaryRootWindow()->layer()->GetCompositor();
SetImplementation(timing_resource, &vsync_timing_implementation_DEPRECATED,
VSyncTiming::Create(compositor, timing_resource));
SetImplementation(
timing_resource, &vsync_timing_implementation_DEPRECATED,
VSyncTiming_DEPRECATED::Create(compositor, timing_resource));
}
const struct zwp_vsync_feedback_v1_interface
......
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