Index: gpu/command_buffer/service/common_decoder.cc |
diff --git a/gpu/command_buffer/service/common_decoder.cc b/gpu/command_buffer/service/common_decoder.cc |
index 5a73cbd66b81ef78624724b7f75ee710f4a7e0ce..791c4ff56303600c990d0a7b1e9eb258e32bcc71 100644 |
--- a/gpu/command_buffer/service/common_decoder.cc |
+++ b/gpu/command_buffer/service/common_decoder.cc |
@@ -195,47 +195,6 @@ error::Error CommonDecoder::HandleJump( |
return error::kNoError; |
} |
-error::Error CommonDecoder::HandleJumpRelative( |
- uint32 immediate_data_size, |
- const cmd::JumpRelative& args) { |
- if (!engine_->SetGetOffset(engine_->GetGetOffset() + args.offset)) { |
- return error::kInvalidArguments; |
- } |
- return error::kNoError; |
-} |
- |
-error::Error CommonDecoder::HandleCall( |
- uint32 immediate_data_size, |
- const cmd::Call& args) { |
- if (!PushAddress(args.offset)) { |
- return error::kInvalidArguments; |
- } |
- return error::kNoError; |
-} |
- |
-error::Error CommonDecoder::HandleCallRelative( |
- uint32 immediate_data_size, |
- const cmd::CallRelative& args) { |
- if (!PushAddress(engine_->GetGetOffset() + args.offset)) { |
- return error::kInvalidArguments; |
- } |
- return error::kNoError; |
-} |
- |
-error::Error CommonDecoder::HandleReturn( |
- uint32 immediate_data_size, |
- const cmd::Return& args) { |
- if (call_stack_.empty()) { |
- return error::kInvalidArguments; |
- } |
- CommandAddress return_address = call_stack_.top(); |
- call_stack_.pop(); |
- if (!engine_->SetGetOffset(return_address.offset)) { |
- return error::kInvalidArguments; |
- } |
- return error::kNoError; |
-} |
- |
error::Error CommonDecoder::HandleSetBucketSize( |
uint32 immediate_data_size, |
const cmd::SetBucketSize& args) { |