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

Unified Diff: ppapi/shared_impl/video_decoder_impl.cc

Issue 8344025: Add a new globals object for PPAPI tracking information. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/shared_impl/var.cc ('k') | ppapi/thunk/enter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/video_decoder_impl.cc
===================================================================
--- ppapi/shared_impl/video_decoder_impl.cc (revision 106515)
+++ ppapi/shared_impl/video_decoder_impl.cc (working copy)
@@ -32,14 +32,14 @@
DCHECK(graphics_context);
DCHECK(!gles2_impl_ && !graphics_context_);
gles2_impl_ = gles2_impl;
- TrackerBase::Get()->GetResourceTracker()->AddRefResource(graphics_context);
+ PpapiGlobals::Get()->GetResourceTracker()->AddRefResource(graphics_context);
graphics_context_ = graphics_context;
}
void VideoDecoderImpl::Destroy() {
graphics_context_ = 0;
gles2_impl_ = NULL;
- TrackerBase::Get()->GetResourceTracker()->ReleaseResource(graphics_context_);
+ PpapiGlobals::Get()->GetResourceTracker()->ReleaseResource(graphics_context_);
}
bool VideoDecoderImpl::SetFlushCallback(PP_CompletionCallback callback) {
Property changes on: ppapi/shared_impl/video_decoder_impl.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « ppapi/shared_impl/var.cc ('k') | ppapi/thunk/enter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698