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

Unified Diff: content/common/gpu/media/vaapi_wrapper.cc

Issue 1875913002: Cleanup: Convert const char* kFoo to const char kFoo[]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: content/common/gpu/media/vaapi_wrapper.cc
diff --git a/content/common/gpu/media/vaapi_wrapper.cc b/content/common/gpu/media/vaapi_wrapper.cc
index 19303e1e6d6a3ab5ac31882f709084a9d8db1ed8..ab4e176e4ec0e869448e192728bcce4a80257d46 100644
--- a/content/common/gpu/media/vaapi_wrapper.cc
+++ b/content/common/gpu/media/vaapi_wrapper.cc
@@ -1147,7 +1147,7 @@ void VaapiWrapper::DeinitializeVpp() {
// static
void VaapiWrapper::PreSandboxInitialization() {
#if defined(USE_OZONE)
- const char* kDriRenderNode0Path = "/dev/dri/renderD128";
+ const char kDriRenderNode0Path[] = "/dev/dri/renderD128";
base::File drm_file = base::File(
base::FilePath::FromUTF8Unsafe(kDriRenderNode0Path),
base::File::FLAG_OPEN | base::File::FLAG_READ | base::File::FLAG_WRITE);
« no previous file with comments | « content/child/appcache/web_application_cache_host_impl.cc ('k') | content/common/origin_trials/trial_token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698