Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4618)

Unified Diff: cc/scheduler/commit_earlyout_reason.cc

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/scheduler/commit_earlyout_reason.h ('k') | cc/scheduler/commit_earlyout_reason_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/commit_earlyout_reason.cc
diff --git a/cc/scheduler/commit_earlyout_reason.cc b/cc/scheduler/commit_earlyout_reason.cc
index 8b87519a65c1b5af02619001479981cbce2d1f5f..dc151c2bf1b5b1a530deb2fc97cf6d543e36acfc 100644
--- a/cc/scheduler/commit_earlyout_reason.cc
+++ b/cc/scheduler/commit_earlyout_reason.cc
@@ -11,8 +11,8 @@ namespace cc {
CommitEarlyOutReason CommitEarlyOutReasonFromProtobuf(
const proto::CommitEarlyOutReason& proto) {
switch (proto.reason()) {
- case proto::CommitEarlyOutReason::ABORTED_OUTPUT_SURFACE_LOST:
- return CommitEarlyOutReason::ABORTED_OUTPUT_SURFACE_LOST;
+ case proto::CommitEarlyOutReason::ABORTED_COMPOSITOR_FRAME_SINK_LOST:
+ return CommitEarlyOutReason::ABORTED_COMPOSITOR_FRAME_SINK_LOST;
case proto::CommitEarlyOutReason::ABORTED_NOT_VISIBLE:
return CommitEarlyOutReason::ABORTED_NOT_VISIBLE;
case proto::CommitEarlyOutReason::ABORTED_DEFERRED_COMMIT:
@@ -21,15 +21,15 @@ CommitEarlyOutReason CommitEarlyOutReasonFromProtobuf(
return CommitEarlyOutReason::FINISHED_NO_UPDATES;
}
NOTREACHED();
- return CommitEarlyOutReason::ABORTED_OUTPUT_SURFACE_LOST;
+ return CommitEarlyOutReason::ABORTED_COMPOSITOR_FRAME_SINK_LOST;
}
void CommitEarlyOutReasonToProtobuf(CommitEarlyOutReason reason,
proto::CommitEarlyOutReason* proto) {
switch (reason) {
- case CommitEarlyOutReason::ABORTED_OUTPUT_SURFACE_LOST:
+ case CommitEarlyOutReason::ABORTED_COMPOSITOR_FRAME_SINK_LOST:
proto->set_reason(
- proto::CommitEarlyOutReason::ABORTED_OUTPUT_SURFACE_LOST);
+ proto::CommitEarlyOutReason::ABORTED_COMPOSITOR_FRAME_SINK_LOST);
return;
case CommitEarlyOutReason::ABORTED_NOT_VISIBLE:
proto->set_reason(proto::CommitEarlyOutReason::ABORTED_NOT_VISIBLE);
« no previous file with comments | « cc/scheduler/commit_earlyout_reason.h ('k') | cc/scheduler/commit_earlyout_reason_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698