Index: gpu/command_buffer/service/program_manager.h |
diff --git a/gpu/command_buffer/service/program_manager.h b/gpu/command_buffer/service/program_manager.h |
index 5c0070f5644b4d6a362edba703eaa1657d6489a0..51a9bf8a363021dee22e76910d21666a2d98b759 100644 |
--- a/gpu/command_buffer/service/program_manager.h |
+++ b/gpu/command_buffer/service/program_manager.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -247,6 +247,9 @@ class ProgramManager { |
// Returns true if prefix is invalid for gl. |
static bool IsInvalidPrefix(const char* name, size_t length); |
+ // Check if a ProgramInfo is owned by this ProgramManager. |
+ bool IsOwned(ProgramInfo* info); |
+ |
private: |
// Info for each "successfully linked" program by service side program Id. |
// TODO(gman): Choose a faster container. |