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

Side by Side Diff: webkit/compositor_bindings/web_external_texture_layer_impl.cc

Issue 13949005: Add cpplint for webkit/compositor_bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « webkit/compositor_bindings/PRESUBMIT.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 "webkit/compositor_bindings/web_external_texture_layer_impl.h" 5 #include "webkit/compositor_bindings/web_external_texture_layer_impl.h"
6 6
7 #include "cc/layers/texture_layer.h" 7 #include "cc/layers/texture_layer.h"
8 #include "cc/resources/resource_update_queue.h" 8 #include "cc/resources/resource_update_queue.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL ayerClient.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL ayerClient.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureM ailbox.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureM ailbox.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 bool lost_resource) { 129 bool lost_resource) {
130 if (lost_resource) 130 if (lost_resource)
131 return; 131 return;
132 132
133 WebKit::WebExternalTextureMailbox available_mailbox; 133 WebKit::WebExternalTextureMailbox available_mailbox;
134 memcpy(available_mailbox.name, mailbox.name, sizeof(available_mailbox.name)); 134 memcpy(available_mailbox.name, mailbox.name, sizeof(available_mailbox.name));
135 available_mailbox.syncPoint = sync_point; 135 available_mailbox.syncPoint = sync_point;
136 client_->mailboxReleased(available_mailbox); 136 client_->mailboxReleased(available_mailbox);
137 } 137 }
138 138
139 } // namespace webkit 139 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/PRESUBMIT.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698