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

Unified Diff: cc/surfaces/local_surface_id.cc

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c Created 3 years, 11 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
Index: cc/surfaces/local_surface_id.cc
diff --git a/cc/surfaces/local_frame_id.cc b/cc/surfaces/local_surface_id.cc
similarity index 55%
rename from cc/surfaces/local_frame_id.cc
rename to cc/surfaces/local_surface_id.cc
index b92ac8a6b7de73dab7855403700aa19a811d7212..9ae33150d51a368cdd3a34b5691f8c863706bba3 100644
--- a/cc/surfaces/local_frame_id.cc
+++ b/cc/surfaces/local_surface_id.cc
@@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "cc/surfaces/local_frame_id.h"
+#include "cc/surfaces/local_surface_id.h"
#include "base/strings/stringprintf.h"
namespace cc {
-std::string LocalFrameId::ToString() const {
- return base::StringPrintf("LocalFrameId(%d, %s" PRIu64 ")", local_id_,
+std::string LocalSurfaceId::ToString() const {
+ return base::StringPrintf("LocalSurfaceId(%d, %s" PRIu64 ")", local_id_,
nonce_.ToString().c_str());
}
std::ostream& operator<<(std::ostream& out,
- const LocalFrameId& local_frame_id) {
- return out << local_frame_id.ToString();
+ const LocalSurfaceId& local_surface_id) {
+ return out << local_surface_id.ToString();
}
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698