Index: gpu/command_buffer/service/common_decoder.h |
diff --git a/gpu/command_buffer/service/common_decoder.h b/gpu/command_buffer/service/common_decoder.h |
index 1b8cf3882a646482d6d0899b46e9c7a81d6c878e..94dec16bb1c7acabb2183e324ec2e160a8247262 100644 |
--- a/gpu/command_buffer/service/common_decoder.h |
+++ b/gpu/command_buffer/service/common_decoder.h |
@@ -102,6 +102,9 @@ class GPU_EXPORT CommonDecoder : NON_EXPORTED_BASE(public AsyncAPIInterface) { |
engine_ = engine; |
} |
+ // Creates a bucket. If the bucket already exists returns that bucket. |
+ Bucket* CreateBucket(uint32 bucket_id); |
+ |
// Gets a bucket. Returns NULL if the bucket does not exist. |
Bucket* GetBucket(uint32 bucket_id) const; |
@@ -143,9 +146,6 @@ class GPU_EXPORT CommonDecoder : NON_EXPORTED_BASE(public AsyncAPIInterface) { |
// Gets an name for a common command. |
const char* GetCommonCommandName(cmd::CommandId command_id) const; |
- // Creates a bucket. If the bucket already exists returns that bucket. |
- Bucket* CreateBucket(uint32 bucket_id); |
- |
private: |
// Generate a member function prototype for each command in an automated and |
// typesafe way. |