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

Side by Side Diff: o3d/gpu_plugin/np_utils/dynamic_np_object.cc

Issue 196032: Replaced BaseNPObject with DefaultNPObject because...... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « o3d/gpu_plugin/np_utils/dynamic_np_object.h ('k') | o3d/gpu_plugin/np_utils/np_class.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "o3d/gpu_plugin/np_utils/dynamic_np_object.h" 5 #include "o3d/gpu_plugin/np_utils/dynamic_np_object.h"
6 6
7 namespace o3d { 7 namespace o3d {
8 namespace gpu_plugin { 8 namespace gpu_plugin {
9 9
10 DynamicNPObject::DynamicNPObject(NPP npp) : BaseNPObject(npp) { 10 DynamicNPObject::DynamicNPObject(NPP npp) {
11 } 11 }
12 12
13 void DynamicNPObject::Invalidate() { 13 void DynamicNPObject::Invalidate() {
14 for (PropertyMap::iterator it = properties_.begin(); 14 for (PropertyMap::iterator it = properties_.begin();
15 it != properties_.end(); 15 it != properties_.end();
16 ++it) { 16 ++it) {
17 it->second.Invalidate(); 17 it->second.Invalidate();
18 } 18 }
19 } 19 }
20 20
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 it != properties_.end(); 52 it != properties_.end();
53 ++it) { 53 ++it) {
54 (*names)[i] = it->first; 54 (*names)[i] = it->first;
55 ++i; 55 ++i;
56 } 56 }
57 57
58 return true; 58 return true;
59 } 59 }
60 } // namespace gpu_plugin 60 } // namespace gpu_plugin
61 } // namespace o3d 61 } // namespace o3d
OLDNEW
« no previous file with comments | « o3d/gpu_plugin/np_utils/dynamic_np_object.h ('k') | o3d/gpu_plugin/np_utils/np_class.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698