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

Unified Diff: gpu/command_buffer/service/gpu_scheduler.cc

Issue 16443007: Rewrite scoped_ptr<T>(NULL) to use the default ctor in gpu/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_scheduler.cc
diff --git a/gpu/command_buffer/service/gpu_scheduler.cc b/gpu/command_buffer/service/gpu_scheduler.cc
index 24de4d27cdd1f6254a9d7e984bf08d3aa66366b4..54f0c1cf7e9fd07ba9469e852463670bcf74e3dd 100644
--- a/gpu/command_buffer/service/gpu_scheduler.cc
+++ b/gpu/command_buffer/service/gpu_scheduler.cc
@@ -27,19 +27,16 @@ const int64 kRescheduleTimeOutDelay = 1000;
const int64 kUnscheduleFenceTimeOutDelay = 10000;
}
-GpuScheduler::GpuScheduler(
- CommandBuffer* command_buffer,
- AsyncAPIInterface* handler,
- gles2::GLES2Decoder* decoder)
+GpuScheduler::GpuScheduler(CommandBuffer* command_buffer,
+ AsyncAPIInterface* handler,
+ gles2::GLES2Decoder* decoder)
: command_buffer_(command_buffer),
handler_(handler),
decoder_(decoder),
- parser_(NULL),
unscheduled_count_(0),
rescheduled_count_(0),
reschedule_task_factory_(this),
- was_preempted_(false) {
-}
+ was_preempted_(false) {}
GpuScheduler::~GpuScheduler() {
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698