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

Unified Diff: Source/core/dom/Document.cpp

Issue 49093004: Move more arrays of strings to shareable memory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 59dae55eb37d3d7b040f2a675091abf29a3f955a..442118a538fb24361913597ba0b800a5c9e35256 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -4110,8 +4110,8 @@ String Document::queryCommandValue(const String& commandName)
KURL Document::openSearchDescriptionURL()
{
- static const char* const openSearchMIMEType = "application/opensearchdescription+xml";
- static const char* const openSearchRelation = "search";
+ static const char openSearchMIMEType[] = "application/opensearchdescription+xml";
+ static const char openSearchRelation[] = "search";
// FIXME: Why do only top-level frames have openSearchDescriptionURLs?
if (!frame() || frame()->tree().parent())

Powered by Google App Engine
This is Rietveld 408576698