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

Unified Diff: Source/modules/websockets/WebSocketDeflater.cpp

Issue 49093004: Move more arrays of strings to shareable memory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 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
Index: Source/modules/websockets/WebSocketDeflater.cpp
diff --git a/Source/modules/websockets/WebSocketDeflater.cpp b/Source/modules/websockets/WebSocketDeflater.cpp
index f383d937558e16bbcde130fd80bf0fa12b0e205a..9e464d92977feb33f1178907cd63cb2ab5f13384 100644
--- a/Source/modules/websockets/WebSocketDeflater.cpp
+++ b/Source/modules/websockets/WebSocketDeflater.cpp
@@ -201,7 +201,7 @@ bool WebSocketInflater::addBytes(const char* data, size_t length)
bool WebSocketInflater::finish()
{
- static const char* strippedFields = "\0\0\xff\xff";
+ static const char strippedFields[] = "\0\0\xff\xff";
static const size_t strippedLength = 4;
// Appends 4 octests of 0x00 0x00 0xff 0xff
« no previous file with comments | « Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp ('k') | Source/modules/websockets/WebSocketHandshake.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698