DescriptionMove inline som functions ScopedDBusError into a .cc file
dbus::ScopedDBusError has inline constructor/destructor and
is_set() method that call into libdbus-1. By placing these
function calls in a header file, we add implicit link dependency
on components that need to use ScopedDBusError. If we move
them out to a .cc file, the dependency will be localized to
libchrome.
BUG=chromium:416628
TEST=dbus_unittests pass
Committed: https://crrev.com/7c5b40c126928ab99f86a973994243ed7f765250
Cr-Commit-Position: refs/heads/master@{#296478}
Patch Set 1 #Patch Set 2 : Fixed a link-time issue of methods not being exported #
Messages
Total messages: 13 (5 generated)
|