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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_image_data.cc

Issue 7778046: Update Native Client Authors to be Chromium Authors for the code moved from the (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
OLDNEW
1 // Copyright 2010 The Native Client 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 2 // Use of this source code is governed by a BSD-style license that can
3 // be found in the LICENSE file. 3 // be found in the LICENSE file.
4 4
5 #include "native_client/src/shared/ppapi_proxy/plugin_ppb_image_data.h" 5 #include "native_client/src/shared/ppapi_proxy/plugin_ppb_image_data.h"
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <string.h> 8 #include <string.h>
9 #include <sys/mman.h> 9 #include <sys/mman.h>
10 #include "srpcgen/ppb_rpc.h" 10 #include "srpcgen/ppb_rpc.h"
11 #include "native_client/src/include/portability.h" 11 #include "native_client/src/include/portability.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 170 }
171 171
172 void PluginImageData::Unmap() { 172 void PluginImageData::Unmap() {
173 if (addr_) { 173 if (addr_) {
174 munmap(addr_, ceil64k(shm_size_)); 174 munmap(addr_, ceil64k(shm_size_));
175 addr_ = NULL; 175 addr_ = NULL;
176 } 176 }
177 } 177 }
178 178
179 } // namespace ppapi_proxy 179 } // namespace ppapi_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698