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

Unified Diff: Source/wtf/ArrayBufferView.h

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | « Source/wtf/ArrayBuffer.cpp ('k') | Source/wtf/ArrayBufferView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/ArrayBufferView.h
diff --git a/Source/wtf/ArrayBufferView.h b/Source/wtf/ArrayBufferView.h
index 769f5b690e2b17d20c66315bc32e0892aada0269..21698b30d1cefa71baef0f4ff47e6b87cc9c7414 100644
--- a/Source/wtf/ArrayBufferView.h
+++ b/Source/wtf/ArrayBufferView.h
@@ -20,7 +20,7 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef ArrayBufferView_h
@@ -145,7 +145,7 @@ bool ArrayBufferView::setImpl(ArrayBufferView* array, unsigned byteOffset)
// Out of range offset or overflow
return false;
}
-
+
char* base = static_cast<char*>(baseAddress());
memmove(base + byteOffset, array->baseAddress(), array->byteLength());
return true;
@@ -159,7 +159,7 @@ bool ArrayBufferView::setRangeImpl(const char* data, size_t dataByteLength, unsi
// Out of range offset or overflow
return false;
}
-
+
char* base = static_cast<char*>(baseAddress());
memmove(base + byteOffset, data, dataByteLength);
return true;
@@ -173,7 +173,7 @@ bool ArrayBufferView::zeroRangeImpl(unsigned byteOffset, size_t rangeByteLength)
// Out of range offset or overflow
return false;
}
-
+
char* base = static_cast<char*>(baseAddress());
memset(base + byteOffset, 0, rangeByteLength);
return true;
« no previous file with comments | « Source/wtf/ArrayBuffer.cpp ('k') | Source/wtf/ArrayBufferView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698