diff --git a/SampleApps/WebView2APISample/AppWindow.cpp b/SampleApps/WebView2APISample/AppWindow.cpp index b1673c9..9a2741c 100644 --- a/SampleApps/WebView2APISample/AppWindow.cpp +++ b/SampleApps/WebView2APISample/AppWindow.cpp @@ -1861,11 +1861,11 @@ HRESULT AppWindow::CreateControllerWithOptions() //! [DefaultBackgroundColor] if (m_webviewOption.bg_color) { - wil::com_ptr experimentalControllerOptions3; - if (SUCCEEDED(options->QueryInterface(IID_PPV_ARGS(&experimentalControllerOptions3)))) + wil::com_ptr webView2ControllerOptions3; + if (SUCCEEDED(options->QueryInterface(IID_PPV_ARGS(&webView2ControllerOptions3)))) { CHECK_FAILURE( - experimentalControllerOptions3->put_DefaultBackgroundColor(*m_webviewOption.bg_color)); + webView2ControllerOptions3->put_DefaultBackgroundColor(*m_webviewOption.bg_color)); } } //! [DefaultBackgroundColor] diff --git a/SampleApps/WebView2APISample/WebView2APISample.vcxproj b/SampleApps/WebView2APISample/WebView2APISample.vcxproj index 43ecbc1..ad6e62d 100644 --- a/SampleApps/WebView2APISample/WebView2APISample.vcxproj +++ b/SampleApps/WebView2APISample/WebView2APISample.vcxproj @@ -502,13 +502,13 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + diff --git a/SampleApps/WebView2APISample/packages.config b/SampleApps/WebView2APISample/packages.config index 9a8ba11..215d634 100644 --- a/SampleApps/WebView2APISample/packages.config +++ b/SampleApps/WebView2APISample/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/SampleApps/WebView2WindowsFormsBrowser/WebView2WindowsFormsBrowser.csproj b/SampleApps/WebView2WindowsFormsBrowser/WebView2WindowsFormsBrowser.csproj index 06b36f4..2db0985 100644 --- a/SampleApps/WebView2WindowsFormsBrowser/WebView2WindowsFormsBrowser.csproj +++ b/SampleApps/WebView2WindowsFormsBrowser/WebView2WindowsFormsBrowser.csproj @@ -25,7 +25,7 @@ AnyCPU - + diff --git a/SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj b/SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj index 953e467..30a538d 100644 --- a/SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj +++ b/SampleApps/WebView2WpfBrowser/WebView2WpfBrowser.csproj @@ -61,7 +61,7 @@ - +