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

Unified Diff: third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h

Issue 2398453002: Rewrap comments to 80 columns in Source/platform/graphics/. (Closed)
Patch Set: Review feedback Created 4 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 | « no previous file | third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
index f5938fe0ea6b32ef2c4f4b4efe8fe7a29b588290..50987401a5268a9bc51240aa95f2da6c45cbdcff 100644
--- a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
+++ b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
@@ -24,11 +24,14 @@ class WebThread;
class PLATFORM_EXPORT AcceleratedStaticBitmapImage final
: public StaticBitmapImage {
public:
- // SkImage with a texture backing that is assumed to be from the shared context of the current thread.
+ // SkImage with a texture backing that is assumed to be from the shared
+ // context of the current thread.
static PassRefPtr<AcceleratedStaticBitmapImage> createFromSharedContextImage(
sk_sp<SkImage>);
- // Can specify the GrContext that created the texture backing the for the given SkImage. Ideally all callers would use this option.
- // The |mailbox| is a name for the texture backing the SkImage, allowing other contexts to use the same backing.
+ // Can specify the GrContext that created the texture backing the for the
+ // given SkImage. Ideally all callers would use this option. The |mailbox| is
+ // a name for the texture backing the SkImage, allowing other contexts to use
+ // the same backing.
static PassRefPtr<AcceleratedStaticBitmapImage> createFromWebGLContextImage(
sk_sp<SkImage>,
const gpu::Mailbox&,
@@ -74,14 +77,17 @@ class PLATFORM_EXPORT AcceleratedStaticBitmapImage final
// Id of the shared context where m_image was created
unsigned m_sharedContextId;
- // True when the below mailbox and sync token are valid for getting at the texture backing the object's SkImage.
+ // True when the below mailbox and sync token are valid for getting at the
+ // texture backing the object's SkImage.
bool m_hasMailbox = false;
- // A mailbox referring to the texture id backing the SkImage. The mailbox is valid as long as the SkImage is held alive.
+ // A mailbox referring to the texture id backing the SkImage. The mailbox is
+ // valid as long as the SkImage is held alive.
gpu::Mailbox m_mailbox;
// This token must be waited for before using the mailbox.
gpu::SyncToken m_syncToken;
- // Thread that m_image belongs to. Set to null when m_image belong to the same thread
- // as this AcceleratedStaticBitmapImage. Should only be non-null after a transfer.
+ // Thread that |m_image| belongs to. Set to null when |m_image| belongs to the
+ // same thread as this AcceleratedStaticBitmapImage. Should only be non-null
+ // after a transfer.
WebThread* m_imageThread = nullptr;
base::ThreadChecker m_threadChecker;
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698