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

Unified Diff: cc/base/swap_promise.cc

Issue 60513007: Add SwapPromise support to LayerTreeHost and LayerTreeImpl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address Dana's comments Created 7 years, 1 month 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/base/swap_promise.h ('k') | cc/cc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/swap_promise.cc
diff --git a/ui/gfx/render_text_ozone.cc b/cc/base/swap_promise.cc
similarity index 57%
copy from ui/gfx/render_text_ozone.cc
copy to cc/base/swap_promise.cc
index 058b5a6389dd1dd3d822a3615c469a66d9aec1c2..5d169d45535fdc8dbfdabc668d07980e65c9131d 100644
--- a/ui/gfx/render_text_ozone.cc
+++ b/cc/base/swap_promise.cc
@@ -2,12 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/gfx/render_text.h"
+#include "cc/base/swap_promise.h"
Yufeng Shen (Slow to review) 2013/11/14 22:09:55 Please ignore that this file is replacing ui/gfx/r
-namespace gfx {
+namespace cc {
-RenderText* RenderText::CreateInstance() {
- return NULL;
+SwapPromise::SwapPromise(SwapPromiseType type) : type_(type) {
}
-} // namespace gfx
+} // namespace cc
« no previous file with comments | « cc/base/swap_promise.h ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698