Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
|
hidehiko
2016/04/15 07:09:10
2016
yoshiki
2016/04/15 14:36:39
Done.
| |
| 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 'use strict'; | 5 module arc; |
| 6 | 6 |
| 7 self.onmessage = function(e) { | 7 struct ArcBitmap { |
| 8 e.data.port.postMessage(e.data.message); | 8 uint32 width; |
| 9 uint32 height; | |
| 10 array<uint8> pixel_data; // Must be ARGB_8888 | |
| 9 }; | 11 }; |
| OLD | NEW |