Revert of Fix crash when we don't have a plane to display (patchset #2 id:20001 of...
commit4bd9bbd8d744053c2c671409cb8e2d485d337630
authorandresantoso <andresantoso@chromium.org>
Fri, 12 Dec 2014 17:49:19 +0000 (12 09:49 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 12 Dec 2014 17:50:34 +0000 (12 17:50 +0000)
tree8f830e5757c765e946caf84c71526cc71bed24dd
parent4b5f497d0aeeb21877400bd46a2e7cfdbc98214d
Revert of Fix crash when we don't have a plane to display (patchset #2 id:20001 of https://codereview.chromium.org/779173007/)

Reason for revert:
Broke Linux ChromiumOS Ozone.
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Ozone%20Builder/builds/8423

GetPrimaryPlane was changed to return a pointer, but a callsite was
not modified.

Original issue's description:
> Fix crash when we don't have a plane to display
>
> BUG=434115,438835
>
> Committed: https://crrev.com/208e6bf151685abc68ac836db5afb3543d8a1e92
> Cr-Commit-Position: refs/heads/master@{#308105}

TBR=dnicoara@chromium.org,achaulk@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=434115,438835

Review URL: https://codereview.chromium.org/800053002

Cr-Commit-Position: refs/heads/master@{#308118}
ui/ozone/platform/dri/crtc_controller.cc
ui/ozone/platform/dri/overlay_plane.cc
ui/ozone/platform/dri/overlay_plane.h