Commit 510ff066 authored by Takuto Ikuta's avatar Takuto Ikuta Committed by Commit Bot

Add EXPORT specifier in /gpu

To speed up build time on windows component build, I will enable newly added /Zc:dllexportInlines- flag. The flag is similar to -fvisibility-inlines-hidden in gcc/clang.

This flag makes inline member function is not exported if it does not have static local variables. But in few classes of chromium, we need to add additional EXPORT specifier to prevent link failure.

This is a part of effort adding EXPORT speicifer to enable the flag.

Master CL is
https://chromium-review.googlesource.com/c/chromium/src/+/1317069

This CL was uploaded by git cl split.

R=ericrk@chromium.org

Bug: 901709
Change-Id: Id41759fbb8b2234c24dbaea33fcc3eff2a97b593
Reviewed-on: https://chromium-review.googlesource.com/c/1322254Reviewed-by: default avatarEric Karl <ericrk@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606052}
parent 963e674a
......@@ -163,7 +163,7 @@ class GPU_EXPORT GpuChannelHost
// A filter used internally to route incoming messages from the IO thread
// to the correct message loop. It also maintains some shared state between
// all the contexts.
class Listener : public IPC::Listener {
class GPU_EXPORT Listener : public IPC::Listener {
public:
Listener(mojo::ScopedMessagePipeHandle handle,
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment