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

Side by Side Diff: cc/rate_limiter.cc

Issue 11233025: cc: Remove CC*.h temporary includes, part 4/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/quad_culler_unittest.cc ('k') | cc/render_pass.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 6
7 #include "cc/rate_limiter.h" 7 #include "cc/rate_limiter.h"
8 8
9 #include "CCProxy.h"
10 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "cc/proxy.h"
11 #include "cc/thread.h" 11 #include "cc/thread.h"
12 #include <public/WebGraphicsContext3D.h> 12 #include <public/WebGraphicsContext3D.h>
13 13
14 namespace cc { 14 namespace cc {
15 15
16 class RateLimiter::Task : public CCThread::Task { 16 class RateLimiter::Task : public CCThread::Task {
17 public: 17 public:
18 static PassOwnPtr<Task> create(RateLimiter* rateLimiter) 18 static PassOwnPtr<Task> create(RateLimiter* rateLimiter)
19 { 19 {
20 return adoptPtr(new Task(rateLimiter)); 20 return adoptPtr(new Task(rateLimiter));
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 return; 75 return;
76 76
77 TRACE_EVENT0("cc", "RateLimiter::rateLimitContext"); 77 TRACE_EVENT0("cc", "RateLimiter::rateLimitContext");
78 78
79 m_active = false; 79 m_active = false;
80 m_client->rateLimit(); 80 m_client->rateLimit();
81 m_context->rateLimitOffscreenContextCHROMIUM(); 81 m_context->rateLimitOffscreenContextCHROMIUM();
82 } 82 }
83 83
84 } 84 }
OLDNEW
« no previous file with comments | « cc/quad_culler_unittest.cc ('k') | cc/render_pass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698