Chromium Code Reviews| Index: cc/gl_compositor_frame.cc |
| diff --git a/cc/util.h b/cc/gl_compositor_frame.cc |
| similarity index 57% |
| copy from cc/util.h |
| copy to cc/gl_compositor_frame.cc |
| index 6da3a697c4ac3396602903d7ac75d85fad4e7abd..6964cb4f1b3f58438a980b94c08ea4201fcc67a0 100644 |
| --- a/cc/util.h |
| +++ b/cc/gl_compositor_frame.cc |
| @@ -2,17 +2,15 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CC_UTIL_H_ |
| -#define CC_UTIL_H_ |
| +#include "cc/gl_compositor_frame.h" |
| namespace cc { |
| -template<typename T> |
| -T RoundUp(T n, T mul) |
| -{ |
| - return ((n + mul - 1) / mul) * mul; |
| +GLCompositorFrame::GLCompositorFrame() |
| + : sync_point(0) { |
|
piman
2012/12/14 22:02:22
nit: indent = 4
aelias_OOO_until_Jul13
2012/12/15 00:06:17
Done.
|
| + type = GL; |
| } |
| -} // namespace cc |
| +GLCompositorFrame::~GLCompositorFrame() {} |
| -#endif // CC_UTIL_H_ |
| +} // namespace cc |