| Index: content/gpu/gpu_main.cc
|
| diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
|
| index bc2ee1287f69f0aba7c3eb749aa8e26745357912..ae01c1f000a94a45dc49f67959dc16044338ce52 100644
|
| --- a/content/gpu/gpu_main.cc
|
| +++ b/content/gpu/gpu_main.cc
|
| @@ -164,7 +164,7 @@ int GpuMain(const MainFunctionParams& parameters) {
|
|
|
| #endif
|
|
|
| - logging::SetLogMessageHandler(GpuProcessLogMessageHandler);
|
| + logging::PushLogMessageHandler(GpuProcessLogMessageHandler);
|
|
|
| if (command_line.HasSwitch(switches::kSupportsDualGpus)) {
|
| std::string types = command_line.GetSwitchValueASCII(
|
| @@ -383,7 +383,7 @@ int GpuMain(const MainFunctionParams& parameters) {
|
| dead_on_arrival = true;
|
| }
|
|
|
| - logging::SetLogMessageHandler(NULL);
|
| + logging::PopLogMessageHandler();
|
|
|
| std::unique_ptr<gpu::GpuMemoryBufferFactory> gpu_memory_buffer_factory;
|
| if (gpu::GetNativeGpuMemoryBufferType() != gfx::EMPTY_BUFFER)
|
|
|