| Index: content/common/gpu/gpu_memory_manager_unittest.cc
|
| diff --git a/content/common/gpu/gpu_memory_manager_unittest.cc b/content/common/gpu/gpu_memory_manager_unittest.cc
|
| index 743ce21f629722d083d3e63ad5c0d60c36e617c7..2c601c9fe5a023be7dd1f1cf54d8e4439bb3c8cb 100644
|
| --- a/content/common/gpu/gpu_memory_manager_unittest.cc
|
| +++ b/content/common/gpu/gpu_memory_manager_unittest.cc
|
| @@ -80,11 +80,10 @@ class FakeClient : public GpuMemoryManagerClient {
|
|
|
| // This will create a client with no surface
|
| FakeClient(GpuMemoryManager* memmgr, GpuMemoryManagerClient* share_group)
|
| - : memmgr_(memmgr)
|
| - , total_gpu_memory_(0)
|
| - , share_group_(share_group)
|
| - , memory_tracker_(NULL)
|
| - , tracking_group_(NULL) {
|
| + : memmgr_(memmgr),
|
| + total_gpu_memory_(0),
|
| + share_group_(share_group),
|
| + memory_tracker_(NULL) {
|
| if (!share_group_) {
|
| memory_tracker_ = new FakeMemoryTracker();
|
| tracking_group_.reset(
|
| @@ -94,14 +93,11 @@ class FakeClient : public GpuMemoryManagerClient {
|
| }
|
|
|
| // This will create a client with a surface
|
| - FakeClient(GpuMemoryManager* memmgr,
|
| - int32 surface_id,
|
| - bool visible)
|
| - : memmgr_(memmgr)
|
| - , total_gpu_memory_(0)
|
| - , share_group_(NULL)
|
| - , memory_tracker_(NULL)
|
| - , tracking_group_(NULL) {
|
| + FakeClient(GpuMemoryManager* memmgr, int32 surface_id, bool visible)
|
| + : memmgr_(memmgr),
|
| + total_gpu_memory_(0),
|
| + share_group_(NULL),
|
| + memory_tracker_(NULL) {
|
| memory_tracker_ = new FakeMemoryTracker();
|
| tracking_group_.reset(
|
| memmgr_->CreateTrackingGroup(0, memory_tracker_.get()));
|
|
|