Roll chromium_revision 212f976fef..61ed337cfe (387882:388120)

https://codereview.chromium.org/1826693002 enables some
more Clang warnings which were fixed.

Change log: 212f976fef..61ed337cfe
Full diff: 212f976fef..61ed337cfe

No dependencies changed.
No update to Clang.

TBR=
NOTRY=True

Review URL: https://codereview.webrtc.org/1896953004

Cr-Commit-Position: refs/heads/master@{#12422}
This commit is contained in:
kjellander 2016-04-19 03:03:23 -07:00 committed by Commit bot
parent 37286d1419
commit 470dd37b41
7 changed files with 13 additions and 4 deletions

2
DEPS
View File

@ -6,7 +6,7 @@
vars = {
'extra_gyp_flag': '-Dextra_gyp_flag=0',
'chromium_git': 'https://chromium.googlesource.com',
'chromium_revision': '212f976fef1762e638035798780a5b4c6597890a',
'chromium_revision': '61ed337cfe003bbc8f6619f644e90f95b1bcfd33',
}
# NOTE: Use http rather than https; the latter can cause problems for users

View File

@ -13,7 +13,7 @@
#include <shellapi.h>
#include <shlobj.h>
#include <tchar.h>
#endif // WEBRTC_WIN
#endif // WEBRTC_WIN
#include "webrtc/base/common.h"
#include "webrtc/base/fileutils.h"
@ -35,9 +35,9 @@ const char* const FOLDER_DELIMS = "/\\";
// DEFAULT_FOLDER_DELIM is the preferred delimiter for this platform
#if WEBRTC_WIN
const char DEFAULT_FOLDER_DELIM = '\\';
#else // !WEBRTC_WIN
#else // !WEBRTC_WIN
const char DEFAULT_FOLDER_DELIM = '/';
#endif // !WEBRTC_WIN
#endif // !WEBRTC_WIN
///////////////////////////////////////////////////////////////////////////////
// Pathname - parsing of pathnames into components, and vice versa
@ -55,6 +55,8 @@ Pathname::Pathname()
: folder_delimiter_(DEFAULT_FOLDER_DELIM) {
}
Pathname::Pathname(const Pathname&) = default;
Pathname::Pathname(const std::string& pathname)
: folder_delimiter_(DEFAULT_FOLDER_DELIM) {
SetPathname(pathname);

View File

@ -44,6 +44,7 @@ public:
static char DefaultFolderDelimiter();
Pathname();
Pathname(const Pathname&);
Pathname(const std::string& pathname);
Pathname(const std::string& folder, const std::string& filename);

View File

@ -17,6 +17,8 @@ namespace webrtc {
AudioEncoder::EncodedInfo::EncodedInfo() = default;
AudioEncoder::EncodedInfo::EncodedInfo(const EncodedInfo&) = default;
AudioEncoder::EncodedInfo::~EncodedInfo() = default;
int AudioEncoder::RtpTimestampRateHz() const {

View File

@ -45,6 +45,7 @@ class AudioEncoder {
// vector.
struct EncodedInfo : public EncodedInfoLeaf {
EncodedInfo();
EncodedInfo(const EncodedInfo&);
~EncodedInfo();
std::vector<EncodedInfoLeaf> redundant;

View File

@ -20,6 +20,8 @@ DesktopRegion::RowSpan::RowSpan(int32_t left, int32_t right)
: left(left), right(right) {
}
DesktopRegion::Row::Row(const Row&) = default;
DesktopRegion::Row::Row(int32_t top, int32_t bottom)
: top(top), bottom(bottom) {
}

View File

@ -47,6 +47,7 @@ class DesktopRegion {
// Row represents a single row of a region. A row is set of rectangles that
// have the same vertical position.
struct Row {
Row(const Row&);
Row(int32_t top, int32_t bottom);
~Row();