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

Unified Diff: content/browser/aura/owned_mailbox.h

Issue 120913004: aura: Ensure OwnedMailbox not used with invalid or destroyed GLHelper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ownedmailbox: test Created 6 years, 11 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
Index: content/browser/aura/owned_mailbox.h
diff --git a/content/browser/aura/owned_mailbox.h b/content/browser/aura/owned_mailbox.h
index ea1c242bf74ff9d385209871151a4e16a50d7d94..3c0c0ca7a6e713007f162a6be7b5a14144b368b5 100644
--- a/content/browser/aura/owned_mailbox.h
+++ b/content/browser/aura/owned_mailbox.h
@@ -23,10 +23,12 @@ class OwnedMailbox : public base::RefCounted<OwnedMailbox>,
const gpu::Mailbox& mailbox() const { return mailbox_; }
void UpdateSyncPoint(uint32 sync_point);
+ void Destroy();
protected:
virtual ~OwnedMailbox();
+ // ImageTransportFactoryObserver implementation.
virtual void OnLostResources() OVERRIDE;
private:

Powered by Google App Engine
This is Rietveld 408576698